Class: Stripe::V2::Billing::BillSettingService::UpdateParams::Invoice::TimeUntilDue

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(interval: nil, interval_count: nil) ⇒ TimeUntilDue

Returns a new instance of TimeUntilDue.



122
123
124
125
# File 'lib/stripe/services/v2/billing/bill_setting_service.rb', line 122

def initialize(interval: nil, interval_count: nil)
  @interval = interval
  @interval_count = interval_count
end

Instance Attribute Details

#intervalObject

The interval unit for the time until due.



117
118
119
# File 'lib/stripe/services/v2/billing/bill_setting_service.rb', line 117

def interval
  @interval
end

#interval_countObject

The number of interval units. For example, if interval=day and interval_count=30, the invoice will be due in 30 days.



120
121
122
# File 'lib/stripe/services/v2/billing/bill_setting_service.rb', line 120

def interval_count
  @interval_count
end