예제 #1
0
 /// <summary>
 /// Gets a list of up to 250 of the shop's orders.
 /// </summary>
 /// <param name="filter">Options for filtering the list.</param>
 /// <param name="cancellationToken">Cancellation Token</param>
 /// <returns>The list of orders matching the filter.</returns>
 public virtual async Task <ListResult <Order> > ListAsync(OrderListFilter filter = null, CancellationToken cancellationToken = default)
 {
     return(await ListAsync(filter?.AsListFilter(), cancellationToken));
 }
예제 #2
0
 /// <summary>
 /// Gets a list of up to 250 of the shop's orders.
 /// </summary>
 /// <param name="filter">Options for filtering the list.</param>
 /// <returns>The list of orders matching the filter.</returns>
 public virtual async Task <ListResult <Order> > ListAsync(OrderListFilter filter = null)
 {
     return(await ListAsync(filter?.AsListFilter()));
 }