ShoppingCartServiceUpdateHloValues Method

Updates a single HLO (High Level 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 UpdateHloValues(
	string hloCollection,
	NetForumId cartItemToUpdate,
	Object valuesToUpdate
)

Parameters

hloCollection  String
The name of the collection that this HLO is a part of. Should correspond to a pre-existing hardcoded netFORUM baseline collection name.
cartItemToUpdate  NetForumId
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 fields on the HLO.

Remarks

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

See Also