Class: Stripe::Subscription::CreateParams::BillingMode

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/resources/subscription.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(type: nil) ⇒ BillingMode

Returns a new instance of BillingMode.



1437
1438
1439
# File 'lib/stripe/resources/subscription.rb', line 1437

def initialize(type: nil)
  @type = type
end

Instance Attribute Details

#typeObject

Controls the calculation and orchestration of prorations and invoices for subscriptions.



1435
1436
1437
# File 'lib/stripe/resources/subscription.rb', line 1435

def type
  @type
end