Package com.stripe.param
Class InvoiceCreateParams.PaymentSettings.Builder
- java.lang.Object
-
- com.stripe.param.InvoiceCreateParams.PaymentSettings.Builder
-
- Enclosing class:
- InvoiceCreateParams.PaymentSettings
public static class InvoiceCreateParams.PaymentSettings.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
build
public InvoiceCreateParams.PaymentSettings build()
Finalize and obtain parameter instance from this builder.
-
putExtraParam
public InvoiceCreateParams.PaymentSettings.Builder putExtraParam(java.lang.String key, java.lang.Object value)
Add a key/value pair to `extraParams` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeeInvoiceCreateParams.PaymentSettings.extraParams
for the field documentation.
-
putAllExtraParam
public InvoiceCreateParams.PaymentSettings.Builder putAllExtraParam(java.util.Map<java.lang.String,java.lang.Object> map)
Add all map key/value pairs to `extraParams` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeeInvoiceCreateParams.PaymentSettings.extraParams
for the field documentation.
-
setPaymentMethodOptions
public InvoiceCreateParams.PaymentSettings.Builder setPaymentMethodOptions(InvoiceCreateParams.PaymentSettings.PaymentMethodOptions paymentMethodOptions)
Payment-method-specific configuration to provide to the invoice’s PaymentIntent.
-
addPaymentMethodType
public InvoiceCreateParams.PaymentSettings.Builder addPaymentMethodType(InvoiceCreateParams.PaymentSettings.PaymentMethodType element)
Add an element to `paymentMethodTypes` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeInvoiceCreateParams.PaymentSettings.paymentMethodTypes
for the field documentation.
-
addAllPaymentMethodType
public InvoiceCreateParams.PaymentSettings.Builder addAllPaymentMethodType(java.util.List<InvoiceCreateParams.PaymentSettings.PaymentMethodType> elements)
Add all elements to `paymentMethodTypes` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeInvoiceCreateParams.PaymentSettings.paymentMethodTypes
for the field documentation.
-
setPaymentMethodTypes
public InvoiceCreateParams.PaymentSettings.Builder setPaymentMethodTypes(EmptyParam paymentMethodTypes)
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.
-
setPaymentMethodTypes
public InvoiceCreateParams.PaymentSettings.Builder setPaymentMethodTypes(java.util.List<InvoiceCreateParams.PaymentSettings.PaymentMethodType> paymentMethodTypes)
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.
-
-