Class: Stripe::PaymentPlanUpdateParams::Schedule

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

Defined Under Namespace

Classes: AmountsDue

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(amounts_due: nil, type: nil) ⇒ Schedule

Returns a new instance of Schedule.



87
88
89
90
# File 'lib/stripe/params/payment_plan_update_params.rb', line 87

def initialize(amounts_due: nil, type: nil)
  @amounts_due = amounts_due
  @type = type
end

Instance Attribute Details

#amounts_dueObject

Required when type is 'amounts_due'.



83
84
85
# File 'lib/stripe/params/payment_plan_update_params.rb', line 83

def amounts_due
  @amounts_due
end

#typeObject

The schedule type. Currently only 'amounts_due' is supported.



85
86
87
# File 'lib/stripe/params/payment_plan_update_params.rb', line 85

def type
  @type
end