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
The list of permissions to request. The
payment_method permission must be
included.-
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanPayment-method-specific configuration to provide to invoices created by the subscription.The list of payment method types to provide to every invoice created by the subscription.Eitheroff, oron_subscription.inthashCode()voidsetPaymentMethodOptions(Subscription.PaymentMethodOptions paymentMethodOptions) Payment-method-specific configuration to provide to invoices created by the subscription.voidsetPaymentMethodTypes(List<String> paymentMethodTypes) The list of payment method types to provide to every invoice created by the subscription.voidsetSaveDefaultPaymentMethod(String saveDefaultPaymentMethod) Eitheroff, oron_subscription.Methods inherited from class com.stripe.model.StripeObject
equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
PaymentSettings
public PaymentSettings()
-
-
Method Details
-
getPaymentMethodOptions
Payment-method-specific configuration to provide to invoices created by the subscription. -
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. -
getSaveDefaultPaymentMethod
Eitheroff, oron_subscription. Withon_subscriptionStripe updatessubscription.default_payment_methodwhen a subscription payment succeeds.One of
off, oron_subscription. -
setPaymentMethodOptions
Payment-method-specific configuration to provide to invoices created by the subscription. -
setPaymentMethodTypes
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. -
setSaveDefaultPaymentMethod
Eitheroff, oron_subscription. Withon_subscriptionStripe updatessubscription.default_payment_methodwhen a subscription payment succeeds.One of
off, oron_subscription. -
equals
-
canEqual
-
hashCode
public int hashCode()
-