public static class ChargeRequest.Error
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
ChargeRequest.ErrorCode |
code
Indicates the type of error that occurred.
|
java.lang.String |
debugDescription
A debug string that describes the error that occurred.
|
java.lang.String |
requestMetadata
This value matches the value you provided to the
ChargeRequest.Builder.requestMetadata(String)
method when constructing the ChargeRequest , if any. |
Constructor and Description |
---|
Error(ChargeRequest.ErrorCode code,
java.lang.String debugDescription,
java.lang.String requestMetadata) |
public final ChargeRequest.ErrorCode code
ChargeRequest.ErrorCode
public final java.lang.String debugDescription
public final java.lang.String requestMetadata
ChargeRequest.Builder.requestMetadata(String)
method when constructing the ChargeRequest
, if any.public Error(ChargeRequest.ErrorCode code, java.lang.String debugDescription, java.lang.String requestMetadata)