Class: Stripe::PaymentPlanUpdateParams::Schedule::AmountsDue::Amount::DueDate::Relative

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/payment_plan_update_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#countObject

The number of intervals after finalization.



12
13
14
# File 'lib/stripe/params/payment_plan_update_params.rb', line 12

def count
  @count
end

#intervalObject

The interval unit.



14
15
16
# File 'lib/stripe/params/payment_plan_update_params.rb', line 14

def interval
  @interval
end