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

Implements

IMultiBuyDiscountDepartmentInfoProviderGetAsync(Int32, Int32, NullableCancellationToken)
See Also