Class: Stripe::V2::Billing::BillSettingService::CreateParams::Invoice::TimeUntilDue
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::V2::Billing::BillSettingService::CreateParams::Invoice::TimeUntilDue
- Defined in:
- lib/stripe/services/v2/billing/bill_setting_service.rb
Instance Attribute Summary collapse
-
#interval ⇒ Object
The interval unit for the time until due.
-
#interval_count ⇒ Object
The number of interval units.
Instance Method Summary collapse
-
#initialize(interval: nil, interval_count: nil) ⇒ TimeUntilDue
constructor
A new instance of TimeUntilDue.
Methods inherited from RequestParams
Constructor Details
#initialize(interval: nil, interval_count: nil) ⇒ TimeUntilDue
Returns a new instance of TimeUntilDue.
54 55 56 57 |
# File 'lib/stripe/services/v2/billing/bill_setting_service.rb', line 54 def initialize(interval: nil, interval_count: nil) @interval = interval @interval_count = interval_count end |
Instance Attribute Details
#interval ⇒ Object
The interval unit for the time until due.
49 50 51 |
# File 'lib/stripe/services/v2/billing/bill_setting_service.rb', line 49 def interval @interval end |
#interval_count ⇒ Object
The number of interval units. For example, if interval=day and interval_count=30, the invoice will be due in 30 days.
52 53 54 |
# File 'lib/stripe/services/v2/billing/bill_setting_service.rb', line 52 def interval_count @interval_count end |