C# Class SageOneApi.Requests.BankAccountRequest

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

Public Methods

Method Description
BankAccountRequest ( IRestClient client, string apiKey, int companyId ) : RestSharp
Delete ( int id ) : bool
Get ( int id ) : BankAccount
Get ( string filter = "", int skip ) : PagingResponse
Save ( BankAccount bankAccount ) : BankAccount

Method Details

BankAccountRequest() public method

public BankAccountRequest ( IRestClient client, string apiKey, int companyId ) : RestSharp
client IRestClient
apiKey string
companyId int
return RestSharp

Delete() public method

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

Get() public method

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

Get() public method

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

Save() public method

public Save ( BankAccount bankAccount ) : BankAccount
bankAccount SageOneApi.Models.BankAccount
return SageOneApi.Models.BankAccount