public class CreateNonceResult
Represents the result of a GooglePayManager.createNonce request. The result will be an instance
of class CreateNonceResult.Success if the request is successful or class CreateNonceResult.Error if the request failed.
| Modifier and Type | Class and Description |
|---|---|
static class |
CreateNonceResult.Error
Represents an error when the
GooglePayManager.createNonce request was not successful. |
static class |
CreateNonceResult.Success
Represents the result of a successful
GooglePayManager.createNonce request. |
| Modifier and Type | Method and Description |
|---|---|
CreateNonceResult.Success |
getSuccessValue()
The result of a successful
GooglePayManager.createNonce request. |
boolean |
isError()
True if the
GooglePayManager.createNonce request resulted in an error. |
boolean |
isSuccess()
True if the
GooglePayManager.createNonce request was successful.
See CreateNonceResult.getSuccessValue for the result. |
public boolean isSuccess()
True if the GooglePayManager.createNonce request was successful.
See CreateNonceResult.getSuccessValue for the result.
public CreateNonceResult.Success getSuccessValue()
The result of a successful GooglePayManager.createNonce request.
CreateNonceResult.isSuccess is false.GooglePayManager.createNoncepublic boolean isError()
True if the GooglePayManager.createNonce request resulted in an error.
GooglePayManager.createNonce