Ejemplo n.º 1
0
 /// <summary>
 /// Gets a list of up to 250 of the shop's transactions.
 /// </summary>
 /// <param name="orderId">The order id to which the fulfillments belong.</param>
 /// <param name="filter">Options for filtering the list.</param>
 public virtual async Task <IEnumerable <Transaction> > ListAsync(long orderId, TransactionListFilter filter = null)
 {
     return(await ExecuteGetAsync <IEnumerable <Transaction> >($"orders/{orderId}/transactions.json", "transactions", filter));
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Gets a list of up to 250 of the shop's transactions.
 /// </summary>
 /// <param name="orderId">The order id to which the fulfillments belong.</param>
 /// <param name="filter">Options for filtering the list.</param>
 /// <param name="cancellationToken">Cancellation Token</param>
 public virtual async Task <IEnumerable <Transaction> > ListAsync(long orderId, TransactionListFilter filter = null, bool includeCurrencyExchangeAdjustments = false, CancellationToken cancellationToken = default)
 {
     return(await ExecuteGetAsync <IEnumerable <Transaction> >($"orders/{orderId}/transactions.json", "transactions", filter, cancellationToken, GetHeaders(includeCurrencyExchangeAdjustments)));
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Gets a list of up to 250 of the shop's transactions.
 /// </summary>
 /// <param name="orderId">The order id to which the fulfillments belong.</param>
 /// <param name="filter">Options for filtering the list.</param>
 /// <param name="cancellationToken">Cancellation Token</param>
 public virtual async Task <IEnumerable <Transaction> > ListAsync(long orderId, TransactionListFilter filter = null, CancellationToken cancellationToken = default)
 {
     return(await ExecuteGetAsync <IEnumerable <Transaction> >($"orders/{orderId}/transactions.json", "transactions", filter, cancellationToken));
 }