public static class SessionCreateParams.PaymentIntentData
extends java.lang.Object
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()
If present, the payment method used with this PaymentIntent can be attached to a Customer, even after the transaction completes.
For more, learn to save card details after a payment.
Stripe uses setup_future_usage
to dynamically optimize your payment flow and
comply with regional legislation and network rules. For example, if your customer is impacted
by SCA, using off_session
will ensure that they are authenticated while processing this PaymentIntent. You
will then be able to collect off-session
payments for this customer.
public SessionCreateParams.PaymentIntentData.Shipping getShipping()
public java.lang.String getStatementDescriptor()
public java.lang.String getStatementDescriptorSuffix()
public SessionCreateParams.PaymentIntentData.TransferData getTransferData()