-
- All Implemented Interfaces:
-
android.os.Parcelable
public class PaymentError implements Parcelable
Contains all error messages and codes that returned by framework methods. ErrorCode
-
-
Field Summary
Fields Modifier and Type Field Description private ErrorCode
errorCode
private String
errorMessage
private String
errorInfo
public final static Parcelable.Creator<PaymentError>
CREATOR
-
Constructor Summary
Constructors Constructor Description PaymentError(ErrorCode errorCode, String errorMessage)
PaymentError(ErrorCode errorCode, String errorMessage, String errorInfo)
-
Method Summary
-
-
Method Detail
-
getErrorCode
@NonNull() ErrorCode getErrorCode()
-
setErrorCode
void setErrorCode(@NonNull() ErrorCode errorCode)
-
getErrorMessage
@NonNull() String getErrorMessage()
-
setErrorMessage
void setErrorMessage(@NonNull() String errorMessage)
-
getErrorInfo
@Nullable() String getErrorInfo()
-
setErrorInfo
void setErrorInfo(@Nullable() String errorInfo)
-
getPaymentParamsInvalidError
@NonNull() static PaymentError getPaymentParamsInvalidError()
-
getPaymentParamsCheckoutIdInvalidError
@NonNull() static PaymentError getPaymentParamsCheckoutIdInvalidError()
-
getPaymentParamsPaymentSchemeInvalidError
@NonNull() static PaymentError getPaymentParamsPaymentSchemeInvalidError()
-
getPaymentParamsCardHolderInvalidError
@NonNull() static PaymentError getPaymentParamsCardHolderInvalidError()
-
getPaymentParamsCardNumberInvalidError
@NonNull() static PaymentError getPaymentParamsCardNumberInvalidError()
-
getPaymentParamsCardMonthInvalidError
@NonNull() static PaymentError getPaymentParamsCardMonthInvalidError()
-
getPaymentParamsCardYearInvalidError
@NonNull() static PaymentError getPaymentParamsCardYearInvalidError()
-
getPaymentParamsCardExpiredError
@NonNull() static PaymentError getPaymentParamsCardExpiredError()
-
getPaymentParamsCardCvvInvalidError
@NonNull() static PaymentError getPaymentParamsCardCvvInvalidError()
-
getPaymentParamsBankAccountHolderInvalidError
@NonNull() static PaymentError getPaymentParamsBankAccountHolderInvalidError()
-
getPaymentParamsBankAccountIbanInvalidError
@NonNull() static PaymentError getPaymentParamsBankAccountIbanInvalidError()
-
getPaymentParamsBankAccountNumberInvalidError
@NonNull() static PaymentError getPaymentParamsBankAccountNumberInvalidError()
-
getPaymentParamsRoutingNumberInvalidError
@NonNull() static PaymentError getPaymentParamsRoutingNumberInvalidError()
-
getPaymentParamsBankAccountBicInvalidError
@NonNull() static PaymentError getPaymentParamsBankAccountBicInvalidError()
-
getPaymentParamsBankAccountBankCodeInvalidError
@NonNull() static PaymentError getPaymentParamsBankAccountBankCodeInvalidError()
-
getPaymentParamsGooglePayTokenInvalidError
@NonNull() static PaymentError getPaymentParamsGooglePayTokenInvalidError()
-
getPaymentParamsSofortCountryInvalidError
@NonNull() static PaymentError getPaymentParamsSofortCountryInvalidError()
-
getPaymentParamsBankNameInvalidError
@NonNull() static PaymentError getPaymentParamsBankNameInvalidError()
-
getPaymentParamsMobilePhoneInvalidError
@NonNull() static PaymentError getPaymentParamsMobilePhoneInvalidError()
-
getPaymentParamsCountryCodeInvalidError
@NonNull() static PaymentError getPaymentParamsCountryCodeInvalidError()
-
getPaymentParamsEmailInvalidError
@NonNull() static PaymentError getPaymentParamsEmailInvalidError()
-
getPaymentParamsNationalIdentifierInvalidError
@NonNull() static PaymentError getPaymentParamsNationalIdentifierInvalidError()
-
getPaymentParamsTokenInvalidError
@NonNull() static PaymentError getPaymentParamsTokenInvalidError()
-
getPaymentParamsAccountVerificationInvalidError
@NonNull() static PaymentError getPaymentParamsAccountVerificationInvalidError()
-
getPaymentProviderNotInitializedError
@NonNull() static PaymentError getPaymentProviderNotInitializedError()
-
getPaymentProviderInternalError
@NonNull() static PaymentError getPaymentProviderInternalError(@NonNull() String errorMessage)
-
getPaymentProviderConnectionMalformedResponseError
@NonNull() static PaymentError getPaymentProviderConnectionMalformedResponseError(@NonNull() String errorInfo)
-
getPaymentProviderConnectionFailureError
@NonNull() static PaymentError getPaymentProviderConnectionFailureError()
-
getNoAvailablePaymentMethodsError
@NonNull() static PaymentError getNoAvailablePaymentMethodsError()
-
getPaymentMethodNotAvailableError
@NonNull() static PaymentError getPaymentMethodNotAvailableError()
-
getCheckoutSettingsMissedError
@NonNull() static PaymentError getCheckoutSettingsMissedError()
-
getTransactionAbortedError
@NonNull() static PaymentError getTransactionAbortedError()
-
getUnexpectedExceptionError
@NonNull() static PaymentError getUnexpectedExceptionError(@NonNull() Exception exception)
-
getThreeDS2Error
@NonNull() static PaymentError getThreeDS2Error(@NonNull() String errorMessage)
-
getThreeDS2ChallengeCanceledError
@NonNull() static PaymentError getThreeDS2ChallengeCanceledError()
-
getThreeDS2TimedOutError
@NonNull() static PaymentError getThreeDS2TimedOutError(@NonNull() String errorMessage)
-
getPaymentParamsPaymentTokenMissingError
@NonNull() static PaymentError getPaymentParamsPaymentTokenMissingError()
-
getBancontactLinkAppSchemeUrlMissingError
@NonNull() static PaymentError getBancontactLinkAppSchemeUrlMissingError()
-
getBancontactLinkAppNotInstalledError
@NonNull() static PaymentError getBancontactLinkAppNotInstalledError()
-
getAfterpayPacificError
@NonNull() static PaymentError getAfterpayPacificError(@NonNull() String errorMessage)
-
getCashAppPayError
@NonNull() static PaymentError getCashAppPayError(@NonNull() String errorMessage)
-
getAmazonPayError
@NonNull() static PaymentError getAmazonPayError(@NonNull() String errorMessage)
-
getSamsungPayServiceIdError
@NonNull() static PaymentError getSamsungPayServiceIdError()
-
getSamsungPayCheckStatusError
@NonNull() static PaymentError getSamsungPayCheckStatusError(int errorCode, @Nullable() Bundle errorData)
-
getSamsungPayCardInfoUpdatedError
@NonNull() static PaymentError getSamsungPayCardInfoUpdatedError(@NonNull() Exception exception)
-
getSamsungPayTokenError
@NonNull() static PaymentError getSamsungPayTokenError(int errorCode, @Nullable() Bundle errorData)
-
getSamsungPayCustomSheetPaymentInfoError
@NonNull() static PaymentError getSamsungPayCustomSheetPaymentInfoError()
-
getUiComponentError
@NonNull() static PaymentError getUiComponentError(@NonNull() String message)
-
getOnBeforeSubmitError
@NonNull() static PaymentError getOnBeforeSubmitError()
-
getBlikError
@NonNull() static PaymentError getBlikError(@NonNull() String errorMessage)
-
getAffirmError
@NonNull() static PaymentError getAffirmError(@NonNull() String errorMessage)
-
getAsyncCallbackFailedError
@NonNull() static PaymentError getAsyncCallbackFailedError(@NonNull() String errorMessage)
-
describeContents
int describeContents()
-
writeToParcel
void writeToParcel(Parcel dest, int flags)
-
hashCode
int hashCode()
-
-
-
-