Click or drag to resize
IMultiBuyDiscountCollectionInfoProviderGetAsync Method
Asynchronously gets an instance of the MultiBuyDiscountCollectionInfo binding structure.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 13.0.131
Syntax
C#
Task<MultiBuyDiscountCollectionInfo> GetAsync(
	int multiBuyDiscountId,
	int collectionId,
	Nullable<CancellationToken> cancellationToken = null
)

Parameters

multiBuyDiscountId
Type: SystemInt32
Buy X Get Y discount ID.
collectionId
Type: SystemInt32
Collection ID.
cancellationToken (Optional)
Type: SystemNullableCancellationToken
The cancellation instruction.

Return Value

Type: TaskMultiBuyDiscountCollectionInfo
Returns a task returning either an instance of MultiBuyDiscountCollectionInfo corresponding to given identifiers or null.
See Also