IMultiBuyDiscountSKUInfoProviderGetAsync Method |
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 13.0.131
Syntax Task<MultiBuyDiscountSKUInfo> GetAsync(
int multiBuyDiscountId,
int skuId,
Nullable<CancellationToken> cancellationToken = null
)
Parameters
- multiBuyDiscountId
- Type: SystemInt32
Buy X Get Y discount ID. - skuId
- Type: SystemInt32
Product ID. - cancellationToken (Optional)
- Type: SystemNullableCancellationToken
The cancellation instruction.
Return Value
Type:
TaskMultiBuyDiscountSKUInfoReturns a task returning either an instance of
MultiBuyDiscountSKUInfo corresponding to given identifiers or null.
See Also