Class: Stripe::SubscriptionScheduleService::AmendParams::Amendment::SetPauseCollection

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/services/subscription_schedule_service.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.



2105
2106
2107
2108
# File 'lib/stripe/services/subscription_schedule_service.rb', line 2105

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.



2100
2101
2102
# File 'lib/stripe/services/subscription_schedule_service.rb', line 2100

def set
  @set
end

#typeObject

Determines the type of the pause_collection amendment.



2103
2104
2105
# File 'lib/stripe/services/subscription_schedule_service.rb', line 2103

def type
  @type
end