Class: Stripe::SubscriptionScheduleAmendParams::Amendment::BillingSchedulesAction

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

Defined Under Namespace

Classes: AppliesTo

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

attr_accessor, new, #to_h

Constructor Details

#initialize(applies_to: nil, type: nil) ⇒ BillingSchedulesAction

Returns a new instance of BillingSchedulesAction.



97
98
99
100
# File 'lib/stripe/params/subscription_schedule_amend_params.rb', line 97

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

Instance Attribute Details

#applies_toObject

Specify which subscription items the billing schedule applies to.



93
94
95
# File 'lib/stripe/params/subscription_schedule_amend_params.rb', line 93

def applies_to
  @applies_to
end

#typeObject

Select the action.



95
96
97
# File 'lib/stripe/params/subscription_schedule_amend_params.rb', line 95

def type
  @type
end