C# Class SageOneApi.Requests.CustomerRequest

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

Public Methods

Method 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 method

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

Delete() public method

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

Get() public method

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

Get() public method

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

Save() public method

public Save ( Customer customer ) : Customer
customer SageOneApi.Models.Customer
return SageOneApi.Models.Customer