Class: Stripe::InvoiceCreatePreviewParams::SubscriptionDetails::Pause::BillFor::UnusedTimeFrom

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/invoice_create_preview_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h

Constructor Details

#initialize(type: nil) ⇒ UnusedTimeFrom

Returns a new instance of UnusedTimeFrom.



2339
2340
2341
# File 'lib/stripe/params/invoice_create_preview_params.rb', line 2339

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

Instance Attribute Details

#typeObject

When to credit for unused time.



2337
2338
2339
# File 'lib/stripe/params/invoice_create_preview_params.rb', line 2337

def type
  @type
end