Class: Stripe::SubscriptionUpdateParams::PendingInvoiceItemInterval
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::SubscriptionUpdateParams::PendingInvoiceItemInterval
- Defined in:
- lib/stripe/params/subscription_update_params.rb
Instance Attribute Summary collapse
-
#interval ⇒ Object
Specifies invoicing frequency.
-
#interval_count ⇒ Object
The number of intervals between invoices.
Instance Method Summary collapse
-
#initialize(interval: nil, interval_count: nil) ⇒ PendingInvoiceItemInterval
constructor
A new instance of PendingInvoiceItemInterval.
Methods inherited from RequestParams
Constructor Details
#initialize(interval: nil, interval_count: nil) ⇒ PendingInvoiceItemInterval
Returns a new instance of PendingInvoiceItemInterval.
539 540 541 542 |
# File 'lib/stripe/params/subscription_update_params.rb', line 539 def initialize(interval: nil, interval_count: nil) @interval = interval @interval_count = interval_count end |
Instance Attribute Details
#interval ⇒ Object
Specifies invoicing frequency. Either ‘day`, `week`, `month` or `year`.
535 536 537 |
# File 'lib/stripe/params/subscription_update_params.rb', line 535 def interval @interval end |
#interval_count ⇒ Object
The number of intervals between invoices. For example, ‘interval=month` and `interval_count=3` bills every 3 months. Maximum of one year interval allowed (1 year, 12 months, or 52 weeks).
537 538 539 |
# File 'lib/stripe/params/subscription_update_params.rb', line 537 def interval_count @interval_count end |