Class InvoiceCreateParams.PaymentSettings

java.lang.Object
com.stripe.param.InvoiceCreateParams.PaymentSettings
Enclosing class:
InvoiceCreateParams

public static class InvoiceCreateParams.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 InvoiceCreateParams.Discount.extraParams for the field documentation.
  • Method Details

    • builder

    • getDefaultMandate

      public String 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.
    • getExtraParams

      public Map<String,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

      Payment-method-specific configuration to provide to the invoice’s PaymentIntent.
    • getPaymentMethodTypes

      public 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.