Class: Stripe::Checkout::SessionService::CreateParams::SubscriptionData::BillingMode

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



1913
1914
1915
# File 'lib/stripe/services/checkout/session_service.rb', line 1913

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

Instance Attribute Details

#typeObject

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



1911
1912
1913
# File 'lib/stripe/services/checkout/session_service.rb', line 1911

def type
  @type
end