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.



1983
1984
1985
1986
# File 'lib/stripe/services/subscription_schedule_service.rb', line 1983

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.



1979
1980
1981
# File 'lib/stripe/services/subscription_schedule_service.rb', line 1979

def set
  @set
end

#typeObject

Determines the type of the pause_collection amendment.



1981
1982
1983
# File 'lib/stripe/services/subscription_schedule_service.rb', line 1981

def type
  @type
end