Click or drag to resize
IMultiBuyDiscountBrandInfoProviderGetAsync Method
Asynchronously gets an instance of the MultiBuyDiscountBrandInfo binding structure.

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

Parameters

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

Return Value

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