C# Class SageOneApi.Requests.CustomerRequest

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

Méthodes publiques

Méthode Description
CustomerRequest ( IRestClient client, string apiKey, int companyId ) : System
Delete ( int id ) : bool
Get ( int id ) : Customer
Get ( string filter = "", int skip ) : PagingResponse
Save ( Customer customer ) : Customer

Method Details

CustomerRequest() public méthode

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

Delete() public méthode

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

Get() public méthode

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

Get() public méthode

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

Save() public méthode

public Save ( Customer customer ) : Customer
customer SageOneApi.Models.Customer
Résultat SageOneApi.Models.Customer