Метод | Описание | |
---|---|---|
Add ( TradeOfferCreate modelToCreate ) : |
Add the tradeoffer to the organization's tradeoffers.
|
|
AddAsync ( TradeOfferCreate modelToCreate ) : Task |
Add the tradeoffer to the organization's tradeoffers.
|
|
Delete ( System.Guid guid, string timestamp = null ) : void |
Delete trade offer.
|
|
DeleteAsync ( System.Guid guid, string timestamp = null ) : System.Threading.Tasks.Task |
Delete trade offer.
|
|
DownloadPdf ( System.Guid guid ) : Stream |
Get a stream of the tradeoffer pdf. This endpoint is not available for API partners yet.
|
|
DownloadPdfAsync ( System.Guid guid ) : Task |
Get a stream of the tradeoffer pdf. This endpoint is not available for API partners yet.
|
|
GenerateInvoice ( System.Guid guid, string timestamp = null ) : |
Generate an invoice based on the given trade offer guid.
|
|
GenerateInvoiceAsync ( System.Guid guid, string timestamp = null ) : Task |
Generate an invoice based on the given trade offer guid.
|
|
Get ( System.Guid guid ) : TradeOffer |
Gets the organization's tradeoffer with the given guid.
|
|
GetAsync ( System.Guid guid ) : Task |
Gets the organization's tradeoffer with the given guid.
|
|
GetList ( string fields = null, string queryFilter = null, System.DateTime changesSince = null, bool deletedOnly = null, int page = null, int pageSize = null ) : TradeOfferCollection |
Retrieve a list of trade offers for the organization.
|
|
GetListAsync ( string fields = null, string queryFilter = null, System.DateTime changesSince = null, bool deletedOnly = null, int page = null, int pageSize = null ) : Task |
Retrieve a list of trade offers for the organization.
|
|
SendEmail ( System.Guid guid, |
Send an email with a link to the tradeoffer
|
|
SendEmailAsync ( System.Guid guid, |
Send an email with a link to the tradeoffer
|
|
Update ( System.Guid guid, TradeOfferUpdate updatedModel ) : UpdatedResponse |
Update the organization's trade offer.
|
|
UpdateAsync ( System.Guid guid, TradeOfferUpdate updatedModel ) : Task |
Update the organization's trade offer.
|
Метод | Описание | |
---|---|---|
DineroTradeOffers ( Dinero dinero ) : System |
public Add ( TradeOfferCreate modelToCreate ) : |
||
modelToCreate | TradeOfferCreate | The tradeoffer to create |
Результат |
public AddAsync ( TradeOfferCreate modelToCreate ) : Task |
||
modelToCreate | TradeOfferCreate | The tradeoffer to create |
Результат | Task |
public Delete ( System.Guid guid, string timestamp = null ) : void | ||
guid | System.Guid | The tradeoffer guid |
timestamp | string | optional timestamp to verify version before deletion |
Результат | void |
public DeleteAsync ( System.Guid guid, string timestamp = null ) : System.Threading.Tasks.Task | ||
guid | System.Guid | The tradeoffer guid |
timestamp | string | optional timestamp to verify version before deletion |
Результат | System.Threading.Tasks.Task |
public DownloadPdf ( System.Guid guid ) : Stream | ||
guid | System.Guid | tradeoffer guid |
Результат | Stream |
public DownloadPdfAsync ( System.Guid guid ) : Task |
||
guid | System.Guid | tradeoffer guid |
Результат | Task |
public GenerateInvoice ( System.Guid guid, string timestamp = null ) : |
||
guid | System.Guid | guid of the trade offer |
timestamp | string | optional timestamp to verify version before generating invoice |
Результат |
public GenerateInvoiceAsync ( System.Guid guid, string timestamp = null ) : Task |
||
guid | System.Guid | guid of the trade offer |
timestamp | string | optional timestamp to verify version before generating invoice |
Результат | Task |
public Get ( System.Guid guid ) : TradeOffer | ||
guid | System.Guid | The tradeoffer guid |
Результат | TradeOffer |
public GetAsync ( System.Guid guid ) : Task |
||
guid | System.Guid | The tradeoffer guid |
Результат | Task |
public GetList ( string fields = null, string queryFilter = null, System.DateTime changesSince = null, bool deletedOnly = null, int page = null, int pageSize = null ) : TradeOfferCollection | ||
fields | string | A comma separated list of fields to include in the response. /// Possible values are: /// number, guid, timeStamp, contactName, contactGuid, address, date, comment, description, externalReference, language, currency, /// totalExclVat, totalVatableAmount, totalInclVat, totalNonVatableAmount, totalVat, hasGeneratedAnyVouchers, /// createdAt, updatedAt and deletedAt. If left empty it defaults to guid, contactName, date, description. Note that ProductLines and TotalLines are NOT available when fecthing a list. /// |
queryFilter | string | Filter specific for contacts. Filtering can be applied to following fields: /// ExternalReference, ContactName, Address, Comment, Description, HasGeneratedAnyVouchers and Currency. /// See API documentation for filtering format. /// If left empty no filtering is applied. |
changesSince | System.DateTime | [Generic Filter Option] Only return trade offers that was created, deleted or updated at or after given time. /// If left empty, this filter will not be applied, and trade offers will be returned regardless of change history. /// The time must be UTC and in the format 'YYYY-MM-DDTHH:mm:ssZ' example: '2015-08-18T06:36:22Z'. |
deletedOnly | bool | [Generic Filter Option] Only select deleted trade offers. If left empty, will defaults to false. |
page | int | The 0-based page number |
pageSize | int | The maximum number of items to include in a page. Maximum 1000. |
Результат | TradeOfferCollection |
public GetListAsync ( string fields = null, string queryFilter = null, System.DateTime changesSince = null, bool deletedOnly = null, int page = null, int pageSize = null ) : Task |
||
fields | string | A comma separated list of fields to include in the response. /// Possible values are: /// number, guid, timeStamp, contactName, contactGuid, address, date, comment, description, externalReference, language, currency, /// totalExclVat, totalVatableAmount, totalInclVat, totalNonVatableAmount, totalVat, hasGeneratedAnyVouchers, /// createdAt, updatedAt and deletedAt. If left empty it defaults to guid, contactName, date, description. Note that ProductLines and TotalLines are NOT available when fecthing a list. /// |
queryFilter | string | Filter specific for contacts. Filtering can be applied to following fields: /// ExternalReference, ContactName, Address, Comment, Description, HasGeneratedAnyVouchers and Currency. /// See API documentation for filtering format. /// If left empty no filtering is applied. |
changesSince | System.DateTime | [Generic Filter Option] Only return trade offers that was created, deleted or updated at or after given time. /// If left empty, this filter will not be applied, and trade offers will be returned regardless of change history. /// The time must be UTC and in the format 'YYYY-MM-DDTHH:mm:ssZ' example: '2015-08-18T06:36:22Z'. |
deletedOnly | bool | [Generic Filter Option] Only select deleted trade offers. If left empty, will defaults to false. |
page | int | The 0-based page number |
pageSize | int | The maximum number of items to include in a page. Maximum 1000. |
Результат | Task |
public SendEmail ( System.Guid guid, |
||
guid | System.Guid | Guid of the tradeoffer |
mailoutModel | Model with data to send email of the tradeoffer | |
Результат | void |
public SendEmailAsync ( System.Guid guid, |
||
guid | System.Guid | Guid of the tradeoffer |
mailoutModel | Model with data to send email of the tradeoffer | |
Результат | System.Threading.Tasks.Task |
public Update ( System.Guid guid, TradeOfferUpdate updatedModel ) : UpdatedResponse | ||
guid | System.Guid | The guid of the trade offer to update |
updatedModel | TradeOfferUpdate | The updated trade offer |
Результат | UpdatedResponse |
public UpdateAsync ( System.Guid guid, TradeOfferUpdate updatedModel ) : Task |
||
guid | System.Guid | The guid of the trade offer to update |
updatedModel | TradeOfferUpdate | The updated trade offer |
Результат | Task |