Class CustomerUpdateParams.InvoiceSettings

java.lang.Object
com.stripe.param.CustomerUpdateParams.InvoiceSettings
Enclosing class:
CustomerUpdateParams

public static class CustomerUpdateParams.InvoiceSettings extends Object
Method for using the customer balance to pay outstanding customer_balance PaymentIntents. If set to automatic, all available funds will automatically be used to pay any outstanding PaymentIntent. If set to manual, only customer balance funds from bank transfers with a reference code matching payment_intent.next_action.display_bank_transfer_intructions.reference_code will automatically be used to pay the corresponding outstanding PaymentIntent.
  • Method Details

    • builder

    • getCustomFields

      public Object getCustomFields()
      Default custom fields to be displayed on invoices for this customer. When updating, pass an empty string to remove previously-defined fields.
    • getDefaultPaymentMethod

      public Object getDefaultPaymentMethod()
      ID of a payment method that's attached to the customer, to be used as the customer's default payment method for subscriptions and invoices.
    • 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.
    • getFooter

      public Object getFooter()
      Default footer to be displayed on invoices for this customer.