public static class SessionCreateParams.PaymentIntentData
extends java.lang.Object
SessionCreateParams.LineItem.taxRates
for the field documentation.Modifier and Type | Class and Description |
---|---|
static class |
SessionCreateParams.PaymentIntentData.Builder |
static class |
SessionCreateParams.PaymentIntentData.CaptureMethod
Add all map key/value pairs to `extraParams` map.
|
static class |
SessionCreateParams.PaymentIntentData.SetupFutureUsage |
static class |
SessionCreateParams.PaymentIntentData.Shipping |
static class |
SessionCreateParams.PaymentIntentData.TransferData
State, county, province, or region.
|
Modifier and Type | Method and Description |
---|---|
static SessionCreateParams.PaymentIntentData.Builder |
builder() |
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.
|
SessionCreateParams.PaymentIntentData.CaptureMethod |
getCaptureMethod()
Controls when the funds will be captured from the customer's account.
|
java.lang.String |
getDescription()
An arbitrary string attached to the object.
|
java.util.Map<java.lang.String,java.lang.Object> |
getExtraParams()
Map of extra parameters for custom features not available in this client library.
|
java.util.Map<java.lang.String,java.lang.String> |
getMetadata()
Set of key-value pairs that you can attach to an object.
|
java.lang.String |
getOnBehalfOf()
The Stripe account ID for which these funds are intended.
|
java.lang.String |
getReceiptEmail()
Email address that the receipt for the resulting payment will be sent to.
|
SessionCreateParams.PaymentIntentData.SetupFutureUsage |
getSetupFutureUsage()
Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
SessionCreateParams.PaymentIntentData.Shipping |
getShipping()
Shipping information for this payment.
|
java.lang.String |
getStatementDescriptor()
Extra information about the payment.
|
java.lang.String |
getStatementDescriptorSuffix()
Provides information about the charge that customers see on their statements.
|
SessionCreateParams.PaymentIntentData.TransferData |
getTransferData()
The parameters used to automatically create a Transfer when the payment succeeds.
|
public static SessionCreateParams.PaymentIntentData.Builder builder()
public java.lang.Long getApplicationFeeAmount()
Stripe-Account
header or an
OAuth key. For more information, see the PaymentIntents use case for connected
accounts.public SessionCreateParams.PaymentIntentData.CaptureMethod getCaptureMethod()
public java.lang.String getDescription()
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.util.Map<java.lang.String,java.lang.String> getMetadata()
metadata
.public java.lang.String getOnBehalfOf()
public java.lang.String getReceiptEmail()
public SessionCreateParams.PaymentIntentData.SetupFutureUsage getSetupFutureUsage()
Providing this parameter will attach the payment method to the PaymentIntent's Customer, if present, after the PaymentIntent is confirmed and any required actions from the user are complete. If no Customer was provided, the payment method can still be attached to a Customer after the transaction completes.
When processing card payments, Stripe also uses setup_future_usage
to dynamically
optimize your payment flow and comply with regional legislation and network rules, such as SCA.
public SessionCreateParams.PaymentIntentData.Shipping getShipping()
public java.lang.String getStatementDescriptor()
public java.lang.String getStatementDescriptorSuffix()
public SessionCreateParams.PaymentIntentData.TransferData getTransferData()