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.
Namespace: Ignition.Commerce.ShoppingAssembly: CatalystFire.Ignition (in CatalystFire.Ignition.dll) Version: 12.0.3454
public void ApplyCreditsTowardsBalance(
IEnumerable<IFinancialCredit> credits
)
Public Sub ApplyCreditsTowardsBalance (
credits As IEnumerable(Of IFinancialCredit)
)
public:
virtual void ApplyCreditsTowardsBalance(
IEnumerable<IFinancialCredit^>^ credits
) sealed
abstract ApplyCreditsTowardsBalance :
credits : IEnumerable<IFinancialCredit> -> unit
override ApplyCreditsTowardsBalance :
credits : IEnumerable<IFinancialCredit> -> unit
Parameters
- credits IEnumerableIFinancialCredit
- Financial credits to apply
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.