-
- All Implemented Interfaces:
-
android.os.Parcelable
public class CheckoutData implements Parcelable
Represents the checkout data, shipping and billing address, cart items and more.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classCheckoutData.Builder
-
Field Summary
Fields Modifier and Type Field Description private final ShippingAddressshippingprivate final BillingAddressbillingprivate final Cartcartprivate final Stringamountprivate final Stringcurrencyprivate final StringtaxAmountprivate final StringmerchantTransactionIdprivate final Merchantmerchantpublic final static Parcelable.Creator<CheckoutData>CREATOR
-
Constructor Summary
Constructors Constructor Description CheckoutData(CheckoutData.Builder builder)
-
Method Summary
Modifier and Type Method Description ShippingAddressgetShipping()Returns the ShippingAddress. BillingAddressgetBilling()Returns the BillingAddress. CartgetCart()Returns the Cart . StringgetAmount()Returns the amount. StringgetCurrency()Returns the currency. StringgetTaxAmount()Returns the tax amount. StringgetMerchantTransactionId()Returns the merchant transaction id. MerchantgetMerchant()Returns the Merchant. booleanequals(Object o)inthashCode()intdescribeContents()voidwriteToParcel(@NonNull() Parcel dest, int flags)-
-
Constructor Detail
-
CheckoutData
CheckoutData(CheckoutData.Builder builder)
-
-
Method Detail
-
getShipping
@Nullable() ShippingAddress getShipping()
Returns the ShippingAddress.
-
getBilling
@Nullable() BillingAddress getBilling()
Returns the BillingAddress.
-
getCurrency
@Nullable() String getCurrency()
Returns the currency.
-
getTaxAmount
@Nullable() String getTaxAmount()
Returns the tax amount.
-
getMerchantTransactionId
@Nullable() String getMerchantTransactionId()
Returns the merchant transaction id.
-
getMerchant
@Nullable() Merchant getMerchant()
Returns the Merchant.
-
hashCode
int hashCode()
-
describeContents
int describeContents()
-
writeToParcel
void writeToParcel(@NonNull() Parcel dest, int flags)
-
-
-
-