- Enclosing class:
public static class InvoiceUpdateParams.PaymentSettings extends Object
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. See
InvoiceUpdateParams.Discount.extraParamsfor the field documentation.
Nested Class SummaryModifier and TypeClassDescription
static enumAdd all elements to `prefetch` list.
Method SummaryModifier and TypeMethodDescription
builder()ID of the mandate to be used for this invoice.Map of extra parameters for custom features not available in this client library.Payment-method-specific configuration to provide to the invoice’s PaymentIntent.The list of payment method types (e.g.
builderpublic static InvoiceUpdateParams.PaymentSettings.Builder builder()
getDefaultMandatepublic Object getDefaultMandate()ID of the mandate to be used for this invoice. It must correspond to the payment method used to pay the invoice, including the invoice's default_payment_method or default_source, if set.
getExtraParamsMap of extra parameters for custom features not available in this client library. The content in this map is not serialized under this field's
@SerializedNamevalue. 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.
getPaymentMethodOptionspublic InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions getPaymentMethodOptions()Payment-method-specific configuration to provide to the invoice’s PaymentIntent.
getPaymentMethodTypespublic 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.