Class: Stripe::SubscriptionService::CreateParams::BillingMode

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/services/subscription_service.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.



1010
1011
1012
# File 'lib/stripe/services/subscription_service.rb', line 1010

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

Instance Attribute Details

#typeObject

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



1008
1009
1010
# File 'lib/stripe/services/subscription_service.rb', line 1008

def type
  @type
end