Package com.stripe.param
Class CustomerUpdateParams.InvoiceSettings
java.lang.Object
com.stripe.param.CustomerUpdateParams.InvoiceSettings
- Enclosing class:
CustomerUpdateParams
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.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Default custom fields to be displayed on invoices for this customer.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.Map of extra parameters for custom features not available in this client library.Default footer to be displayed on invoices for this customer.
-
Method Details
-
builder
-
getCustomFields
Default custom fields to be displayed on invoices for this customer. When updating, pass an empty string to remove previously-defined fields. -
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
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.
-