Error

data class Error(val code: GooglePayNonceResult.Error.Code, val message: String, val debugCode: String, val debugMessage: String) : GooglePayNonceResult

Represents the result of an unsuccessful GooglePay.requestGooglePayNonce operation.

Constructors

Link copied to clipboard
constructor(code: GooglePayNonceResult.Error.Code, message: String, debugCode: String, debugMessage: String)

Types

Link copied to clipboard

Possible error codes that can be returned as a result of attempting to create a Google Pay card nonce.

Properties

Link copied to clipboard

The error code. Use this value to appropriately handle the error.

Link copied to clipboard

A more detailed error code for troubleshooting.

Link copied to clipboard

A human-readable message containing additional debug information related to the possible cause of the error. Debug messages should not be displayed to customers.

Link copied to clipboard

A displayable message that summarizes the possible cause of the error.

Functions

Link copied to clipboard

The result of an erroneous GooglePay.requestGooglePayNonce operation.

Link copied to clipboard

The result of a successful GooglePay.requestGooglePayNonce operation.

Link copied to clipboard

True if the GooglePay.requestGooglePayNonce operation resulted in an error.

Link copied to clipboard

True if the GooglePay.requestGooglePayNonce operation was successful. See getSuccessValue for the result.