public static class ChargeRequest.Success
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.lang.String |
clientTransactionId
The device-generated ID of the transaction.
|
java.lang.String |
requestMetadata
This value matches the value you provided to the
ChargeRequest.Builder.requestMetadata(String)
method when constructing the ChargeRequest , if any. |
java.lang.String |
serverTransactionId
The server-generated ID of the transaction, if available.
|
Constructor and Description |
---|
Success(java.lang.String clientTransactionId,
java.lang.String serverTransactionId,
java.lang.String requestMetadata) |
public final java.lang.String clientTransactionId
client_id
field when applicable. You
cannot currently filter results by the value of this field, however you
can match against it to obtain a transaction's full details when
serverTransactionId
is null.public final java.lang.String serverTransactionId
null
if the created transaction had not yet been assigned an ID
by Square servers before Square Point of Sale returned to your app. This happens
most commonly for cash payments and payments processed in Square Point of Sale's
offline mode.public final java.lang.String requestMetadata
ChargeRequest.Builder.requestMetadata(String)
method when constructing the ChargeRequest
, if any.