IFlashpointShoppingCartApplyDiscount Method

Adds a discount line item to a cart

Definition

Namespace: Ignition.Commerce.Shopping
Assembly: CatalystFire.Ignition (in CatalystFire.Ignition.dll) Version: 12.0.3454
C#
IShoppingCartState ApplyDiscount(
	string cartToken,
	string discountCode
)

Parameters

cartToken  String
Working cart token
discountCode  String
A discount code, as represented by a prc_eweb_code

Return Value

IShoppingCartState
The updated cart

See Also