/// <summary> /// Gets a list of up to 250 of the discount codes belonging to the price rule. /// </summary> public virtual async Task <ListResult <PriceRuleDiscountCode> > ListAsync(long priceRuleId, PriceRuleDiscountCodeListFilter filter = null, CancellationToken cancellationToken = default) { return(await ListAsync(priceRuleId, filter?.AsListFilter(), cancellationToken)); }
/// <summary> /// Gets a list of up to 250 of the discount codes belonging to the price rule. /// </summary> public virtual async Task <ListResult <PriceRuleDiscountCode> > ListAsync(long priceRuleId, PriceRuleDiscountCodeListFilter filter = null) { return(await ListAsync(priceRuleId, filter?.AsListFilter())); }