-
- 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 class
CheckoutData.Builder
-
Field Summary
Fields Modifier and Type Field Description private final ShippingAddress
shipping
private final BillingAddress
billing
private final Cart
cart
private final String
amount
private final String
currency
private final String
taxAmount
private final String
merchantTransactionId
private final Merchant
merchant
public final static Parcelable.Creator<CheckoutData>
CREATOR
-
Constructor Summary
Constructors Constructor Description CheckoutData(CheckoutData.Builder builder)
-
Method Summary
Modifier and Type Method Description ShippingAddress
getShipping()
Returns the ShippingAddress. BillingAddress
getBilling()
Returns the BillingAddress. Cart
getCart()
Returns the Cart . String
getAmount()
Returns the amount. String
getCurrency()
Returns the currency. String
getTaxAmount()
Returns the tax amount. String
getMerchantTransactionId()
Returns the merchant transaction id. Merchant
getMerchant()
Returns the Merchant. boolean
equals(Object o)
int
hashCode()
int
describeContents()
void
writeToParcel(@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)
-
-
-
-