Class: Stripe::PaymentPlanCreateParams::Schedule

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



107
108
109
110
# File 'lib/stripe/params/payment_plan_create_params.rb', line 107

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'.



103
104
105
# File 'lib/stripe/params/payment_plan_create_params.rb', line 103

def amounts_due
  @amounts_due
end

#typeObject

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



105
106
107
# File 'lib/stripe/params/payment_plan_create_params.rb', line 105

def type
  @type
end