Package com.stripe.model
Class Invoice.PaymentSettings
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.Invoice.PaymentSettings
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- Invoice
-
Nested Class Summary
-
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
ID of the mandate to be used for this invoice.Payment-method-specific configuration to provide to the invoice’s PaymentIntent.The list of payment method types (e.g.int
hashCode()
void
setDefaultMandate
(String defaultMandate) ID of the mandate to be used for this invoice.void
setPaymentMethodOptions
(Invoice.PaymentSettings.PaymentMethodOptions paymentMethodOptions) Payment-method-specific configuration to provide to the invoice’s PaymentIntent.void
setPaymentMethodTypes
(List<String> paymentMethodTypes) The list of payment method types (e.g.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
PaymentSettings
public PaymentSettings()
-
-
Method Details
-
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. -
getPaymentMethodOptions
Payment-method-specific configuration to provide to the invoice’s PaymentIntent. -
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. -
setDefaultMandate
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. -
setPaymentMethodOptions
public void setPaymentMethodOptions(Invoice.PaymentSettings.PaymentMethodOptions paymentMethodOptions) Payment-method-specific configuration to provide to the invoice’s PaymentIntent. -
setPaymentMethodTypes
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. -
equals
-
canEqual
-
hashCode
public int hashCode()
-