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 taxation: Taxation = Taxation.UNDECIDED, val hasReachedMaxCheckoutLimit: Boolean = false, val hasReachedMaxOnlinePaymentLimit: Boolean = false, val invalidDepositReturnVoucher: 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, taxation: Taxation = Taxation.UNDECIDED, hasReachedMaxCheckoutLimit: Boolean = false, hasReachedMaxOnlinePaymentLimit: Boolean = false, invalidDepositReturnVoucher: Boolean = false, backupTimestamp: Long = 0)

Properties

Link copied to clipboard
val addCount: Int = 0
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val id: String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val modCount: Int = 0
Link copied to clipboard
val onlineTotalPrice: Int? = null
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun applyShoppingCart(shoppingCart: ShoppingCart)
Link copied to clipboard