public class ChargeCaptureParams extends ApiRequestParams
Modifier and Type | Class and Description |
---|---|
static class |
ChargeCaptureParams.Builder |
static class |
ChargeCaptureParams.TransferData |
ApiRequestParams.EnumParam
EXTRA_PARAMS_KEY
Modifier and Type | Method and Description |
---|---|
static ChargeCaptureParams.Builder |
builder() |
java.lang.Long |
getAmount()
The amount to capture, which must be less than or equal to the original amount.
|
java.lang.Long |
getApplicationFee()
An application fee to add on to this charge.
|
java.lang.Long |
getApplicationFeeAmount()
An application fee amount to add on to this charge, which must be less than or equal to the
original amount.
|
java.util.List<java.lang.String> |
getExpand()
Specifies which fields in the response should be expanded.
|
java.util.Map<java.lang.String,java.lang.Object> |
getExtraParams()
Map of extra parameters for custom features not available in this client library.
|
java.lang.String |
getReceiptEmail()
The email address to send this charge's receipt to.
|
java.lang.String |
getStatementDescriptor()
For card charges, use
statement_descriptor_suffix instead. |
java.lang.String |
getStatementDescriptorSuffix()
Provides information about the charge that customers see on their statements.
|
ChargeCaptureParams.TransferData |
getTransferData()
An optional dictionary including the account to automatically transfer to as part of a
destination charge.
|
java.lang.String |
getTransferGroup()
A string that identifies this transaction as part of a group.
|
toMap
public static ChargeCaptureParams.Builder builder()
public java.lang.Long getAmount()
public java.lang.Long getApplicationFee()
public java.lang.Long getApplicationFeeAmount()
public java.util.List<java.lang.String> getExpand()
public java.util.Map<java.lang.String,java.lang.Object> getExtraParams()
@SerializedName
value. Instead, each
key/value pair is serialized as if the key is a root-level field (serialized) name in this
param object. Effectively, this map is flattened to its parent instance.public java.lang.String getReceiptEmail()
public java.lang.String getStatementDescriptor()
statement_descriptor_suffix
instead. Otherwise, you can use this
value as the complete description of a charge on your customers’ statements. Must contain at
least one letter, maximum 22 characters.public java.lang.String getStatementDescriptorSuffix()
public ChargeCaptureParams.TransferData getTransferData()
public java.lang.String getTransferGroup()
transfer_group
may only
be provided if it has not been set. See the Connect
documentation for details.