Click or drag to resize
MultiBuyDiscountTreeInfoProviderGetAsync Method (Int32, Int32, NullableCancellationToken)
Asynchronously gets an instance of the MultiBuyDiscountTreeInfo binding structure.

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

Parameters

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

Return Value

Type: TaskMultiBuyDiscountTreeInfo
Returns a task returning either an instance of MultiBuyDiscountTreeInfo corresponding to given identifiers or null.

Implements

IMultiBuyDiscountTreeInfoProviderGetAsync(Int32, Int32, NullableCancellationToken)
See Also