Click or drag to resize
MultiBuyDiscountSKUInfoProviderGetAsync Method (Int32, Int32, NullableCancellationToken)
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#
public virtual 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.

Implements

IMultiBuyDiscountSKUInfoProviderGetAsync(Int32, Int32, NullableCancellationToken)
See Also