public class StartCheckoutEvent extends PredefinedEvent<StartCheckoutEvent>
MAX_NUM_ATTRIBUTES, MAX_STRING_LENGTH| Constructor and Description |
|---|
StartCheckoutEvent() |
| Modifier and Type | Method and Description |
|---|---|
StartCheckoutEvent |
putCurrency(Currency currency)
Put currency used in cart.
|
StartCheckoutEvent |
putItemCount(int itemCount)
Put count of items in cart.
|
StartCheckoutEvent |
putTotalPrice(BigDecimal totalPrice)
Put total price of all items in cart.
|
toStringputCustomAttribute, putCustomAttributepublic StartCheckoutEvent putItemCount(int itemCount)
itemCount - count of items in cartpublic StartCheckoutEvent putTotalPrice(BigDecimal totalPrice)
totalPrice - total price of items in cart, not nullpublic StartCheckoutEvent putCurrency(Currency currency)
currency - currency used in cart, not null