Class: Stripe::BillingPortal::ConfigurationCreateParams::Features
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::BillingPortal::ConfigurationCreateParams::Features
- Defined in:
- lib/stripe/params/billing_portal/configuration_create_params.rb
Defined Under Namespace
Classes: CustomerUpdate, InvoiceHistory, PaymentMethodUpdate, SubscriptionCancel, SubscriptionUpdate
Instance Attribute Summary collapse
-
#customer_update ⇒ Object
Information about updating the customer details in the portal.
-
#invoice_history ⇒ Object
Information about showing the billing history in the portal.
-
#payment_method_update ⇒ Object
Information about updating payment methods in the portal.
-
#subscription_cancel ⇒ Object
Information about canceling subscriptions in the portal.
-
#subscription_update ⇒ Object
Information about updating subscriptions in the portal.
Instance Method Summary collapse
-
#initialize(customer_update: nil, invoice_history: nil, payment_method_update: nil, subscription_cancel: nil, subscription_update: nil) ⇒ Features
constructor
A new instance of Features.
Methods inherited from RequestParams
Constructor Details
#initialize(customer_update: nil, invoice_history: nil, payment_method_update: nil, subscription_cancel: nil, subscription_update: nil) ⇒ Features
Returns a new instance of Features.
171 172 173 174 175 176 177 178 179 180 181 182 183 |
# File 'lib/stripe/params/billing_portal/configuration_create_params.rb', line 171 def initialize( customer_update: nil, invoice_history: nil, payment_method_update: nil, subscription_cancel: nil, subscription_update: nil ) @customer_update = customer_update @invoice_history = invoice_history @payment_method_update = payment_method_update @subscription_cancel = subscription_cancel @subscription_update = subscription_update end |
Instance Attribute Details
#customer_update ⇒ Object
Information about updating the customer details in the portal.
161 162 163 |
# File 'lib/stripe/params/billing_portal/configuration_create_params.rb', line 161 def customer_update @customer_update end |
#invoice_history ⇒ Object
Information about showing the billing history in the portal.
163 164 165 |
# File 'lib/stripe/params/billing_portal/configuration_create_params.rb', line 163 def invoice_history @invoice_history end |
#payment_method_update ⇒ Object
Information about updating payment methods in the portal.
165 166 167 |
# File 'lib/stripe/params/billing_portal/configuration_create_params.rb', line 165 def payment_method_update @payment_method_update end |
#subscription_cancel ⇒ Object
Information about canceling subscriptions in the portal.
167 168 169 |
# File 'lib/stripe/params/billing_portal/configuration_create_params.rb', line 167 def subscription_cancel @subscription_cancel end |
#subscription_update ⇒ Object
Information about updating subscriptions in the portal.
169 170 171 |
# File 'lib/stripe/params/billing_portal/configuration_create_params.rb', line 169 def subscription_update @subscription_update end |