-
- All Implemented Interfaces:
-
android.os.Parcelable
public class CheckoutActivityResult implements Parcelable
Represents result of com.oppwa.mobile.connect.checkout.dialog.CheckoutActivity.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classCheckoutActivityResult.Builder
-
Field Summary
Fields Modifier and Type Field Description private final Transactiontransactionprivate final PaymentErrorpaymentErrorprivate final StringresourcePathprivate final booleanisCanceledpublic final static Parcelable.Creator<CheckoutActivityResult>CREATOR
-
Method Summary
Modifier and Type Method Description TransactiongetTransaction()Returns the Transaction, if it is available. PaymentErrorgetPaymentError()Returns the PaymentError, if there was an error during the checkout process. StringgetResourcePath()Returns the resource path for payment status request, if it is available. booleanisCanceled()Indicates if checkout is canceled by user. booleanisErrored()Indicates if there was an error during the checkout process. intdescribeContents()voidwriteToParcel(Parcel dest, int flags)booleanequals(Object o)inthashCode()-
-
Method Detail
-
getTransaction
@Nullable() Transaction getTransaction()
Returns the Transaction, if it is available.
-
getPaymentError
@Nullable() PaymentError getPaymentError()
Returns the PaymentError, if there was an error during the checkout process.
-
getResourcePath
@Nullable() String getResourcePath()
Returns the resource path for payment status request, if it is available.
-
isCanceled
boolean isCanceled()
Indicates if checkout is canceled by user.
-
isErrored
boolean isErrored()
Indicates if there was an error during the checkout process.
-
describeContents
int describeContents()
-
writeToParcel
void writeToParcel(Parcel dest, int flags)
-
hashCode
int hashCode()
-
-
-
-