C# Class SageOneApi.Requests.SupplierInvoiceRequest

Inheritance: RequestBase, ISupplierInvoiceRequest
ファイルを表示 Open project: Pietervdw/sageone-api-wrapper Class Usage Examples

Public Methods

Method Description
Calculate ( SupplierInvoice invoice ) : SupplierInvoice
Email ( EmailRequest email ) : bool
Get ( bool includeDetail = false, bool includeSupplierDetails = false, string filter = "", int skip ) : PagingResponse
Get ( int id ) : SupplierInvoice
Save ( SupplierInvoice invoice ) : SupplierInvoice
SaveAsync ( SupplierInvoice invoice ) : Task
SupplierInvoiceRequest ( IRestClient client, string apiKey, int companyId ) : System

Method Details

Calculate() public method

public Calculate ( SupplierInvoice invoice ) : SupplierInvoice
invoice SageOneApi.Models.SupplierInvoice
return SageOneApi.Models.SupplierInvoice

Email() public method

public Email ( EmailRequest email ) : bool
email SageOneApi.Models.EmailRequest
return bool

Get() public method

public Get ( bool includeDetail = false, bool includeSupplierDetails = false, string filter = "", int skip ) : PagingResponse
includeDetail bool
includeSupplierDetails bool
filter string
skip int
return PagingResponse

Get() public method

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

Save() public method

public Save ( SupplierInvoice invoice ) : SupplierInvoice
invoice SageOneApi.Models.SupplierInvoice
return SageOneApi.Models.SupplierInvoice

SaveAsync() public method

public SaveAsync ( SupplierInvoice invoice ) : Task
invoice SageOneApi.Models.SupplierInvoice
return Task

SupplierInvoiceRequest() public method

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