ShoppingCartServiceApplyCreditsTowardsBalance Method

Applies the provided credit balance towards the pending purchase, applying credits in as close to the order provided as possible. Any previously applied credits will be removed.

Definition

Namespace: Ignition.Commerce.Shopping
Assembly: CatalystFire.Ignition (in CatalystFire.Ignition.dll) Version: 12.0.3454
C#
public void ApplyCreditsTowardsBalance(
	IEnumerable<IFinancialCredit> credits
)

Parameters

credits  IEnumerableIFinancialCredit
Financial credits to apply

Remarks

Only credits that belong to the cart owner and are in the shopping cart currency may be applied. Depending on netFORUM configuration, credit might not be applied to shippable items.

See Also