Click or drag to resize
IMultiBuyDiscountSKUInfoProviderGetAsync Method
Asynchronously gets an instance of the MultiBuyDiscountSKUInfo binding structure.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 13.0.131
Syntax
C#
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: TaskMultiBuyDiscountSKUInfo
Returns a task returning either an instance of MultiBuyDiscountSKUInfo corresponding to given identifiers or null.
See Also