Package com.stripe.model
Class Subscription.PaymentSettings
- java.lang.Object
-
- com.stripe.model.StripeObject
-
- com.stripe.model.Subscription.PaymentSettings
-
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- Subscription
public static class Subscription.PaymentSettings extends StripeObject
A description of the mandate or subscription that is meant to be displayed to the customer.
-
-
Field Summary
-
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
-
Constructor Summary
Constructors Constructor Description PaymentSettings()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(java.lang.Object other)
boolean
equals(java.lang.Object o)
Subscription.PaymentMethodOptions
getPaymentMethodOptions()
Payment-method-specific configuration to provide to invoices created by the subscription.java.util.List<java.lang.String>
getPaymentMethodTypes()
The list of payment method types to provide to every invoice created by the subscription.int
hashCode()
void
setPaymentMethodOptions(Subscription.PaymentMethodOptions paymentMethodOptions)
Payment-method-specific configuration to provide to invoices created by the subscription.void
setPaymentMethodTypes(java.util.List<java.lang.String> paymentMethodTypes)
The list of payment method types to provide to every invoice created by the subscription.-
Methods inherited from class com.stripe.model.StripeObject
equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
-
-
-
Method Detail
-
getPaymentMethodOptions
public Subscription.PaymentMethodOptions getPaymentMethodOptions()
Payment-method-specific configuration to provide to invoices created by the subscription.
-
getPaymentMethodTypes
public java.util.List<java.lang.String> getPaymentMethodTypes()
The list of payment method types to provide to every invoice created by the subscription. 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.
-
setPaymentMethodOptions
public void setPaymentMethodOptions(Subscription.PaymentMethodOptions paymentMethodOptions)
Payment-method-specific configuration to provide to invoices created by the subscription.
-
setPaymentMethodTypes
public void setPaymentMethodTypes(java.util.List<java.lang.String> paymentMethodTypes)
The list of payment method types to provide to every invoice created by the subscription. 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
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-