-
public class GooglePayNonceResult
Represents the result of a GooglePay.requestGooglePayNonce operation. The result will be an instance of Success if the operation is successful or Error if the operation failed.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
GooglePayNonceResult.Success
Represents the result of a successful GooglePay.requestGooglePayNonce operation. Contains the card nonce and additional Card details.
public final class
GooglePayNonceResult.Error
Represents the result of an unsuccessful GooglePay.requestGooglePayNonce operation.
-
Method Summary
Modifier and Type Method Description final Boolean
isSuccess()
True if the GooglePay.requestGooglePayNonce operation was successful. final GooglePayNonceResult.Success
getSuccessValue()
The result of a successful GooglePay.requestGooglePayNonce operation. final GooglePayNonceResult.Error
getErrorValue()
The result of an erroneous GooglePay.requestGooglePayNonce operation. final Boolean
isError()
True if the GooglePay.requestGooglePayNonce operation resulted in an error. -
-
Method Detail
-
isSuccess
final Boolean isSuccess()
True if the GooglePay.requestGooglePayNonce operation was successful. See getSuccessValue for the result.
-
getSuccessValue
final GooglePayNonceResult.Success getSuccessValue()
The result of a successful GooglePay.requestGooglePayNonce operation.
-
getErrorValue
final GooglePayNonceResult.Error getErrorValue()
The result of an erroneous GooglePay.requestGooglePayNonce operation.
-
isError
final Boolean isError()
True if the GooglePay.requestGooglePayNonce operation resulted in an error.
-
-
-
-