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