Class: Stripe::PaymentPlanCreateParams::Schedule::AmountsDue::Amount::DueDate::Relative
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::PaymentPlanCreateParams::Schedule::AmountsDue::Amount::DueDate::Relative
- Defined in:
- lib/stripe/params/payment_plan_create_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.
36 37 38 39 |
# File 'lib/stripe/params/payment_plan_create_params.rb', line 36 def initialize(count: nil, interval: nil) @count = count @interval = interval end |
Instance Attribute Details
#count ⇒ Object
The number of intervals after finalization.
32 33 34 |
# File 'lib/stripe/params/payment_plan_create_params.rb', line 32 def count @count end |
#interval ⇒ Object
The interval unit.
34 35 36 |
# File 'lib/stripe/params/payment_plan_create_params.rb', line 34 def interval @interval end |