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.



1920
1921
1922
# File 'lib/stripe/services/checkout/session_service.rb', line 1920

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

Instance Attribute Details

#typeObject

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



1918
1919
1920
# File 'lib/stripe/services/checkout/session_service.rb', line 1918

def type
  @type
end