ShoppingCartServiceUpdateCartItemValues(InvoiceDetailCartItem, Object) Method

Updates a single cart item (InvoiceDetail object) in the NetFORUM server-side shopping cart with new values. This method should only be used if no other methods in IShoppingCartService can accomplish the desired result.

Definition

Namespace: Ignition.Commerce.Shopping
Assembly: CatalystFire.Ignition (in CatalystFire.Ignition.dll) Version: 12.0.3454
C#
public void UpdateCartItemValues(
	InvoiceDetailCartItem cartItemToUpdate,
	Object valuesToUpdate
)

Parameters

cartItemToUpdate  InvoiceDetailCartItem
The existing cart item whose values should be updated.
valuesToUpdate  Object
Flex-compatible object containing the values to apply, with properties named after the appropriate InvoiceDetail fields.

Remarks

No validation is performed on valuesToUpdate. Setting invalid values may cause NetFORUM internal errors or have other unexpected results.

See Also