C# Class SageOneApi.Requests.SupplierRequest

Inheritance: RequestBase, ISupplierRequest
Afficher le fichier Open project: Pietervdw/sageone-api-wrapper

Méthodes publiques

Méthode 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 méthode

public Delete ( int id ) : bool
id int
Résultat bool

Get() public méthode

public Get ( string filter = "", int skip ) : PagingResponse
filter string
skip int
Résultat PagingResponse

Get() public méthode

public Get ( int id ) : Supplier
id int
Résultat SageOneApi.Models.Supplier

GetAsync() public méthode

public GetAsync ( string filter = "", int skip ) : Task>
filter string
skip int
Résultat Task>

Save() public méthode

public Save ( Supplier supplier ) : Supplier
supplier SageOneApi.Models.Supplier
Résultat SageOneApi.Models.Supplier

SaveAsync() public méthode

public SaveAsync ( Supplier supplier ) : Task
supplier SageOneApi.Models.Supplier
Résultat Task

SupplierRequest() public méthode

public SupplierRequest ( IRestClient client, string apiKey, int companyId ) : System
client IRestClient
apiKey string
companyId int
Résultat System