C# Class SageOneApi.Requests.TaxTypeRequest

Inheritance: RequestBase, ITaxTypeRequest
Show file Open project: Pietervdw/sageone-api-wrapper Class Usage Examples

Public Methods

Method Description
Delete ( int id ) : bool
Get ( string filter = "", int skip ) : PagingResponse
Get ( int id ) : TaxType
Save ( TaxType taxType ) : TaxType
TaxTypeRequest ( IRestClient client, string apiKey, int companyId ) : System

Method Details

Delete() public method

public Delete ( int id ) : bool
id int
return bool

Get() public method

public Get ( string filter = "", int skip ) : PagingResponse
filter string
skip int
return PagingResponse

Get() public method

public Get ( int id ) : TaxType
id int
return SageOneApi.Models.TaxType

Save() public method

public Save ( TaxType taxType ) : TaxType
taxType SageOneApi.Models.TaxType
return SageOneApi.Models.TaxType

TaxTypeRequest() public method

public TaxTypeRequest ( IRestClient client, string apiKey, int companyId ) : System
client IRestClient
apiKey string
companyId int
return System