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, new, #to_h

Constructor Details

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

Returns a new instance of SetPauseCollection.



617
618
619
620
# File 'lib/stripe/params/subscription_schedule_amend_params.rb', line 617

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.



613
614
615
# File 'lib/stripe/params/subscription_schedule_amend_params.rb', line 613

def set
  @set
end

#typeObject

Determines the type of the pause_collection amendment.



615
616
617
# File 'lib/stripe/params/subscription_schedule_amend_params.rb', line 615

def type
  @type
end