Package com.stripe.param
Class SubscriptionCreateParams.PaymentSettings
- java.lang.Object
-
- com.stripe.param.SubscriptionCreateParams.PaymentSettings
-
- Enclosing class:
- SubscriptionCreateParams
public static class SubscriptionCreateParams.PaymentSettings extends java.lang.Object
The number of intervals between subscription billings. For example,interval=month
andinterval_count=3
bills every 3 months. Maximum of one year interval allowed (1 year, 12 months, or 52 weeks).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SubscriptionCreateParams.PaymentSettings.Builder
static class
SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions
static class
SubscriptionCreateParams.PaymentSettings.PaymentMethodType
Add all map key/value pairs to `extraParams` map.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SubscriptionCreateParams.PaymentSettings.Builder
builder()
java.util.Map<java.lang.String,java.lang.Object>
getExtraParams()
Map of extra parameters for custom features not available in this client library.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions
getPaymentMethodOptions()
Payment-method-specific configuration to provide to invoices created by the subscription.java.lang.Object
getPaymentMethodTypes()
The list of payment method types (e.g.
-
-
-
Method Detail
-
builder
public static SubscriptionCreateParams.PaymentSettings.Builder builder()
-
getExtraParams
public java.util.Map<java.lang.String,java.lang.Object> getExtraParams()
Map of extra parameters for custom features not available in this client library. The content in this map is not serialized under this field's@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.
-
getPaymentMethodOptions
public SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions getPaymentMethodOptions()
Payment-method-specific configuration to provide to invoices created by the subscription.
-
getPaymentMethodTypes
public java.lang.Object getPaymentMethodTypes()
The list of payment method types (e.g. card) to provide to the invoice’s PaymentIntent. If not set, Stripe attempts to automatically determine the types to use by looking at the invoice’s default payment method, the subscription’s default payment method, the customer’s default payment method, and your invoice template settings.
-
-