Class: Stripe::PaymentPlanUpdateParams::Schedule::AmountsDue::Amount::DueDate::Relative
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::PaymentPlanUpdateParams::Schedule::AmountsDue::Amount::DueDate::Relative
- Defined in:
- lib/stripe/params/payment_plan_update_params.rb
Instance Attribute Summary collapse
-
#count ⇒ Object
The number of intervals after finalization.
-
#interval ⇒ Object
The interval unit.
Instance Method Summary collapse
-
#initialize(count: nil, interval: nil) ⇒ Relative
constructor
A new instance of Relative.
Methods inherited from RequestParams
attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h
Constructor Details
#initialize(count: nil, interval: nil) ⇒ Relative
Returns a new instance of Relative.
16 17 18 19 |
# File 'lib/stripe/params/payment_plan_update_params.rb', line 16 def initialize(count: nil, interval: nil) @count = count @interval = interval end |
Instance Attribute Details
#count ⇒ Object
The number of intervals after finalization.
12 13 14 |
# File 'lib/stripe/params/payment_plan_update_params.rb', line 12 def count @count end |
#interval ⇒ Object
The interval unit.
14 15 16 |
# File 'lib/stripe/params/payment_plan_update_params.rb', line 14 def interval @interval end |