Class: Stripe::SubscriptionSchedule::AmendParams::Amendment::SetPauseCollection

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/resources/subscription_schedule.rb

Defined Under Namespace

Classes: Set

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(set: nil, type: nil) ⇒ SetPauseCollection

Returns a new instance of SetPauseCollection.



2150
2151
2152
2153
# File 'lib/stripe/resources/subscription_schedule.rb', line 2150

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

Instance Attribute Details

#setObject

Details of the pause_collection behavior to apply to the amendment.



2146
2147
2148
# File 'lib/stripe/resources/subscription_schedule.rb', line 2146

def set
  @set
end

#typeObject

Determines the type of the pause_collection amendment.



2148
2149
2150
# File 'lib/stripe/resources/subscription_schedule.rb', line 2148

def type
  @type
end