Class: Stripe::SubscriptionMigrateParams
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::SubscriptionMigrateParams
- Defined in:
- lib/stripe/params/subscription_migrate_params.rb
Defined Under Namespace
Classes: BillingMode
Instance Attribute Summary collapse
-
#billing_mode ⇒ Object
Controls how prorations and invoices for subscriptions are calculated and orchestrated.
-
#expand ⇒ Object
Specifies which fields in the response should be expanded.
Instance Method Summary collapse
-
#initialize(billing_mode: nil, expand: nil) ⇒ SubscriptionMigrateParams
constructor
A new instance of SubscriptionMigrateParams.
Methods inherited from RequestParams
Constructor Details
#initialize(billing_mode: nil, expand: nil) ⇒ SubscriptionMigrateParams
Returns a new instance of SubscriptionMigrateParams.
30 31 32 33 |
# File 'lib/stripe/params/subscription_migrate_params.rb', line 30 def initialize(billing_mode: nil, expand: nil) @billing_mode = billing_mode @expand = end |
Instance Attribute Details
#billing_mode ⇒ Object
Controls how prorations and invoices for subscriptions are calculated and orchestrated.
26 27 28 |
# File 'lib/stripe/params/subscription_migrate_params.rb', line 26 def billing_mode @billing_mode end |
#expand ⇒ Object
Specifies which fields in the response should be expanded.
28 29 30 |
# File 'lib/stripe/params/subscription_migrate_params.rb', line 28 def @expand end |