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.



2143
2144
2145
2146
# File 'lib/stripe/resources/subscription_schedule.rb', line 2143

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.



2139
2140
2141
# File 'lib/stripe/resources/subscription_schedule.rb', line 2139

def set
  @set
end

#typeObject

Determines the type of the pause_collection amendment.



2141
2142
2143
# File 'lib/stripe/resources/subscription_schedule.rb', line 2141

def type
  @type
end