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.
Namespace: Ignition.Commerce.ShoppingAssembly: CatalystFire.Ignition (in CatalystFire.Ignition.dll) Version: 12.0.3454
public void UpdateCartItemValues(
InvoiceDetailCartItem cartItemToUpdate,
Object valuesToUpdate
)
Public Sub UpdateCartItemValues (
cartItemToUpdate As InvoiceDetailCartItem,
valuesToUpdate As Object
)
public:
virtual void UpdateCartItemValues(
InvoiceDetailCartItem^ cartItemToUpdate,
Object^ valuesToUpdate
) sealed
abstract UpdateCartItemValues :
cartItemToUpdate : InvoiceDetailCartItem *
valuesToUpdate : Object -> unit
override UpdateCartItemValues :
cartItemToUpdate : InvoiceDetailCartItem *
valuesToUpdate : Object -> unit
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.
No validation is performed on valuesToUpdate. Setting invalid values may cause NetFORUM internal errors or have other unexpected results.