Class: Stripe::SubscriptionScheduleAmendParams::Amendment::SetPauseCollection

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

Defined Under Namespace

Classes: Set

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(set: nil, type: nil) ⇒ SetPauseCollection

Returns a new instance of SetPauseCollection.



398
399
400
401
# File 'lib/stripe/params/subscription_schedule_amend_params.rb', line 398

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.



394
395
396
# File 'lib/stripe/params/subscription_schedule_amend_params.rb', line 394

def set
  @set
end

#typeObject

Determines the type of the pause_collection amendment.



396
397
398
# File 'lib/stripe/params/subscription_schedule_amend_params.rb', line 396

def type
  @type
end