/// <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)); }
/// <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))); }
/// <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)); }