ShoppingCartData
data class ShoppingCartData @JvmOverloads constructor( val id: String = UUID.randomUUID().toString(), val uuid: String = UUID.randomUUID().toString(), val lastModificationTime: Long = 0, val items: MutableList<ShoppingCart.Item> = mutableListOf(), val violationNotifications: MutableList<ViolationNotification> = mutableListOf(), val modCount: Int = 0, val addCount: Int = 0, val onlineTotalPrice: Int? = null, val invalidProducts: List<Product>? = null, val invalidItemIds: List<String>? = null, val taxation: Taxation = Taxation.UNDECIDED, val hasReachedMaxCheckoutLimit: Boolean = false, val hasReachedMaxOnlinePaymentLimit: Boolean = false, val backupTimestamp: Long = 0)
Constructors
Link copied to clipboard
constructor( id: String = UUID.randomUUID().toString(), uuid: String = UUID.randomUUID().toString(), lastModificationTime: Long = 0, items: MutableList<ShoppingCart.Item> = mutableListOf(), violationNotifications: MutableList<ViolationNotification> = mutableListOf(), modCount: Int = 0, addCount: Int = 0, onlineTotalPrice: Int? = null, invalidProducts: List<Product>? = null, invalidItemIds: List<String>? = null, taxation: Taxation = Taxation.UNDECIDED, hasReachedMaxCheckoutLimit: Boolean = false, hasReachedMaxOnlinePaymentLimit: Boolean = false, backupTimestamp: Long = 0)