-
public class GooglePayNonceResultRepresents 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 classGooglePayNonceResult.SuccessRepresents the result of a successful GooglePay.requestGooglePayNonce operation. Contains the card nonce and additional Card details.
public final classGooglePayNonceResult.ErrorRepresents the result of an unsuccessful GooglePay.requestGooglePayNonce operation.
-
Method Summary
Modifier and Type Method Description final BooleanisSuccess()True if the GooglePay.requestGooglePayNonce operation was successful. final GooglePayNonceResult.SuccessgetSuccessValue()The result of a successful GooglePay.requestGooglePayNonce operation. final GooglePayNonceResult.ErrorgetErrorValue()The result of an erroneous GooglePay.requestGooglePayNonce operation. final BooleanisError()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.
-
-
-
-