Class: Stripe::Invoice::CreatePreviewParams::ScheduleDetails::BillingMode

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



3835
3836
3837
# File 'lib/stripe/resources/invoice.rb', line 3835

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

Instance Attribute Details

#typeObject

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



3833
3834
3835
# File 'lib/stripe/resources/invoice.rb', line 3833

def type
  @type
end