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

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/payment_plan_create_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.



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

#countObject

The number of intervals after finalization.



32
33
34
# File 'lib/stripe/params/payment_plan_create_params.rb', line 32

def count
  @count
end

#intervalObject

The interval unit.



34
35
36
# File 'lib/stripe/params/payment_plan_create_params.rb', line 34

def interval
  @interval
end