PersistentState
data class PersistentState(var file: File, var cartId: String? = null, var checkoutProcess: CheckoutProcessResponse? = null, var selectedPaymentMethod: PaymentMethod? = null, var priceToPay: Int = 0, var codes: List<String> = mutableListOf(), var invalidProducts: List<Product>? = null, var redeemedCoupons: List<Coupon> = emptyList(), var state: CheckoutState = CheckoutState.NONE, var fulfillmentState: List<Fulfillment>? = null, var signedCheckoutInfo: SignedCheckoutInfo? = null)
Constructors
Link copied to clipboard
constructor(file: File, cartId: String? = null, checkoutProcess: CheckoutProcessResponse? = null, selectedPaymentMethod: PaymentMethod? = null, priceToPay: Int = 0, codes: List<String> = mutableListOf(), invalidProducts: List<Product>? = null, redeemedCoupons: List<Coupon> = emptyList(), state: CheckoutState = CheckoutState.NONE, fulfillmentState: List<Fulfillment>? = null, signedCheckoutInfo: SignedCheckoutInfo? = null)