public class PaymentIntentCaptureParams extends ApiRequestParams
Modifier and Type | Class and Description |
---|---|
static class |
PaymentIntentCaptureParams.Builder |
static class |
PaymentIntentCaptureParams.TransferData |
ApiRequestParams.EnumParam
EXTRA_PARAMS_KEY
Modifier and Type | Method and Description |
---|---|
static PaymentIntentCaptureParams.Builder |
builder() |
java.lang.Long |
getAmountToCapture()
The amount to capture from the PaymentIntent, which must be less than or equal to the original
amount.
|
java.lang.Long |
getApplicationFeeAmount()
The amount of the application fee (if any) that will be applied to the payment and transferred
to the application owner's Stripe account.
|
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 |
getStatementDescriptor()
For non-card charges, you can use this value as the complete description that appears on your
customers’ statements.
|
java.lang.String |
getStatementDescriptorSuffix()
Provides information about a card payment that customers see on their statements.
|
PaymentIntentCaptureParams.TransferData |
getTransferData()
The parameters used to automatically create a Transfer when the payment is captured.
|
toMap
public static PaymentIntentCaptureParams.Builder builder()
public java.lang.Long getAmountToCapture()
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 getStatementDescriptor()
public java.lang.String getStatementDescriptorSuffix()
public PaymentIntentCaptureParams.TransferData getTransferData()