Package ai.systema.model.tracker.cart

Types

CartItem
Link copied to clipboard
common
data class CartItem(itemId: String, quantity: Int, price: Double?, tax: Double?, currency: Currency?)
CartItemAcquiredEvent
Link copied to clipboard
common
data class CartItemAcquiredEvent(clientId: String, environment: String, fingerprint: String, sessionId: String, userAgent: String, userName: String?, sequence: Int, type: TrackerEventType, productId: String, referrer: String?, url: String, eventDate: TrackEventDate, items: List<CartItem>, version: String)
CartItemAcquisitionCompleteEvent
Link copied to clipboard
common
data class CartItemAcquisitionCompleteEvent(clientId: String, environment: String, fingerprint: String, sessionId: String, userAgent: String, userName: String?, sequence: Int, type: TrackerEventType, referrer: String?, url: String, eventDate: TrackEventDate, order: PurchaseOrder, version: String)
CartItemRelinquishedEvent
Link copied to clipboard
common
data class CartItemRelinquishedEvent(clientId: String, environment: String, fingerprint: String, sessionId: String, userAgent: String, userName: String?, sequence: Int, type: TrackerEventType, productId: String, referrer: String?, url: String, eventDate: TrackEventDate, item: CartItem, version: String)
OrderItem
Link copied to clipboard
common
data class OrderItem(itemId: String, quantity: Int, unitCost: Double, unitTaxAmount: Double, currency: String)
PurchaseOrder
Link copied to clipboard
common
data class PurchaseOrder(orderId: String, chargedAmount: Double, totalAmount: Double, taxAmount: Double, shippingAmount: Double, discountAmount: Double?, discountCodes: String?, currency: String?, shippingAddress: ShippingAddress?, items: List<OrderItem>)
ShippingAddress
Link copied to clipboard
common
data class ShippingAddress(city: String, state: String, postCode: String, country: String)