Class: Stripe::Checkout::Session::CreateParams::SubscriptionData::BillingMode

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



2950
2951
2952
# File 'lib/stripe/resources/checkout/session.rb', line 2950

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

Instance Attribute Details

#typeObject

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



2948
2949
2950
# File 'lib/stripe/resources/checkout/session.rb', line 2948

def type
  @type
end