In the example below, the default type is defined as the string “default,” which in turn maps to a class in the commerceItemTypeClassMap property. This property defines the default CommerceItem type.
ATG ORDER MANAGER LOAD ORDER CODE
The following code defines the default values: CommerceItemTypeClassMap=\ĭefault= defaultCommerceItemType (For example, the string “default” could be passed.) This constructs an instance of a CommerceItem class that is mapped to that string.īelow is a sample of how a mapping is defined in the properties file.
When creating a new CommerceItem, a string is passed as a parameter to the create method. You can have more than one type of CommerceItem object. This property defines the type-to-class name mapping for CommerceItem objects. The following code defines the default value: defaultOrderType=default commerceItemTypeClassMap In the example below, the default type is defined as the string “default,” which in turn maps to a class in the orderTypeClassMap property. This property defines the default Order type. Note: The shoppingcart order type is no longer used and remains defined only for backwards compatibility. The following code defines the default values: orderTypeClassMap=\
(For example, the string “default” could be passed.) This constructs an instance of an Order class that is mapped to that string.īelow is a sample of how a mapping is defined in the properties file. When creating a new Order, a string is passed as a parameter to the create method. You can have more than one type of Order object. This property defines the type-to-class name mapping for Order objects. You can view the OrderTools component in the ACC to see the configured values for these properties.