-
- 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 class
CheckoutActivityResult.Builder
-
Field Summary
Fields Modifier and Type Field Description private final Transaction
transaction
private final PaymentError
paymentError
private final String
resourcePath
private final boolean
isCanceled
public final static Parcelable.Creator<CheckoutActivityResult>
CREATOR
-
Method Summary
Modifier and Type Method Description Transaction
getTransaction()
Returns the Transaction, if it is available. PaymentError
getPaymentError()
Returns the PaymentError, if there was an error during the checkout process. String
getResourcePath()
Returns the resource path for payment status request, if it is available. boolean
isCanceled()
Indicates if checkout is canceled by user. boolean
isErrored()
Indicates if there was an error during the checkout process. int
describeContents()
void
writeToParcel(Parcel dest, int flags)
boolean
equals(Object o)
int
hashCode()
-
-
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()
-
-
-
-