C# Class SageOneApi.Requests.PurchaseOrderRequest

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

Public Methods

Method Description
Calculate ( PurchaseOrder purchaseOrder ) : PurchaseOrder
Delete ( int id ) : bool
Get ( bool includeDetail = false, bool includeSupplierDetails = false, string filter = "", int skip ) : PagingResponse
Get ( int id ) : PurchaseOrder
PurchaseOrderRequest ( IRestClient client, string apiKey, int companyId ) : System
Save ( PurchaseOrder purchaseOrder ) : PurchaseOrder

Method Details

Calculate() public method

public Calculate ( PurchaseOrder purchaseOrder ) : PurchaseOrder
purchaseOrder SageOneApi.Models.PurchaseOrder
return SageOneApi.Models.PurchaseOrder

Delete() public method

public Delete ( int id ) : bool
id int
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 ) : PurchaseOrder
id int
return SageOneApi.Models.PurchaseOrder

PurchaseOrderRequest() public method

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

Save() public method

public Save ( PurchaseOrder purchaseOrder ) : PurchaseOrder
purchaseOrder SageOneApi.Models.PurchaseOrder
return SageOneApi.Models.PurchaseOrder