C# Class SageOneApi.Requests.SupplierRequest

Inheritance: RequestBase, ISupplierRequest
Mostra file Open project: Pietervdw/sageone-api-wrapper

Public Methods

Method Description
Delete ( int id ) : bool
Get ( string filter = "", int skip ) : PagingResponse
Get ( int id ) : Supplier
GetAsync ( string filter = "", int skip ) : Task>
Save ( Supplier supplier ) : Supplier
SaveAsync ( Supplier supplier ) : Task
SupplierRequest ( 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 ) : Supplier
id int
return SageOneApi.Models.Supplier

GetAsync() public method

public GetAsync ( string filter = "", int skip ) : Task>
filter string
skip int
return Task>

Save() public method

public Save ( Supplier supplier ) : Supplier
supplier SageOneApi.Models.Supplier
return SageOneApi.Models.Supplier

SaveAsync() public method

public SaveAsync ( Supplier supplier ) : Task
supplier SageOneApi.Models.Supplier
return Task

SupplierRequest() public method

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