Class: Stripe::V2::Billing::ContractCreateParams::BillingSettings::ContractBillingDetails::BillSettingsDetails::Invoice

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/v2/billing/contract_create_params.rb

Defined Under Namespace

Classes: TimeUntilDue

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(time_until_due: nil) ⇒ Invoice

Returns a new instance of Invoice.



43
44
45
# File 'lib/stripe/params/v2/billing/contract_create_params.rb', line 43

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

Instance Attribute Details

#time_until_dueObject

The number of time units before the invoice is past due.



41
42
43
# File 'lib/stripe/params/v2/billing/contract_create_params.rb', line 41

def time_until_due
  @time_until_due
end