Click or drag to resize
IMultiBuyDiscountDepartmentInfoProviderGetAsync Method
Asynchronously gets an instance of the MultiBuyDiscountDepartmentInfo binding structure.

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

Parameters

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

Return Value

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