Order
Package: com.salesforce.marketingcloud.sfmcsdk.components.events
Platform: androidJvm
SDK Version: 11.0.0
A data class representing an order in the Salesforce Marketing Cloud SDK. This class encapsulates order information including line items, total value, currency, and custom attributes.
Creates an Order instance with the specified parameters. All parameters except id have default values.
A unique identifier representing the order. This is a required field.
An list of Line Item Data values. Defaults to an empty list if not provided.
The total value of the order. This is an optional nullable property.
The currency of the total value for the order. This is an optional nullable property.
A map of user-supplied values. Defaults to an empty map if not provided. This allows for custom key-value pairs to be associated with the order.
LineItem- Represents individual items within the order