Class: Stripe::InvoiceService::CreatePreviewParams::SubscriptionDetails::BillingMode

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



2556
2557
2558
# File 'lib/stripe/services/invoice_service.rb', line 2556

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

Instance Attribute Details

#typeObject

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



2554
2555
2556
# File 'lib/stripe/services/invoice_service.rb', line 2554

def type
  @type
end