GtmOrderHelperMapOrderInternal Method |
Maps
OrderInfo to
GtmData representing Google Tag Manager order object.
Order contains only data about order and do not contain any order items array.
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 12.0.0
Syntax protected virtual GtmData MapOrderInternal(
OrderInfo order,
Object additionalData = null,
string purpose = null
)
Parameters
- order
- Type: CMS.EcommerceOrderInfo
OrderInfo to be mapped to Google Tag Manager order object. - additionalData (Optional)
- Type: SystemObject
Data with additional non-conflicting key value pairs to be merged with order. - purpose (Optional)
- Type: SystemString
Contextual information fitting for customizations.
Return Value
Type:
GtmDataThe
GtmData that represents Google Tag Manger order object.
Exceptions See Also