Class: Stripe::SubscriptionSchedule::AmendParams::Amendment::MetadataAction
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::SubscriptionSchedule::AmendParams::Amendment::MetadataAction
- Defined in:
- lib/stripe/resources/subscription_schedule.rb
Instance Attribute Summary collapse
-
#add ⇒ Object
Key-value pairs to add to schedule phase metadata.
-
#remove ⇒ Object
Keys to remove from schedule phase metadata.
-
#set ⇒ Object
Key-value pairs to set as schedule phase metadata.
-
#type ⇒ Object
Select one of three ways to update phase-level ‘metadata` on subscription schedules.
Instance Method Summary collapse
-
#initialize(add: nil, remove: nil, set: nil, type: nil) ⇒ MetadataAction
constructor
A new instance of MetadataAction.
Methods inherited from RequestParams
Constructor Details
#initialize(add: nil, remove: nil, set: nil, type: nil) ⇒ MetadataAction
Returns a new instance of MetadataAction.
2002 2003 2004 2005 2006 2007 |
# File 'lib/stripe/resources/subscription_schedule.rb', line 2002 def initialize(add: nil, remove: nil, set: nil, type: nil) @add = add @remove = remove @set = set @type = type end |
Instance Attribute Details
#add ⇒ Object
Key-value pairs to add to schedule phase metadata. These values will merge with existing schedule phase metadata.
1994 1995 1996 |
# File 'lib/stripe/resources/subscription_schedule.rb', line 1994 def add @add end |
#remove ⇒ Object
Keys to remove from schedule phase metadata.
1996 1997 1998 |
# File 'lib/stripe/resources/subscription_schedule.rb', line 1996 def remove @remove end |
#set ⇒ Object
Key-value pairs to set as schedule phase metadata. Existing schedule phase metadata will be overwritten.
1998 1999 2000 |
# File 'lib/stripe/resources/subscription_schedule.rb', line 1998 def set @set end |
#type ⇒ Object
Select one of three ways to update phase-level ‘metadata` on subscription schedules.
2000 2001 2002 |
# File 'lib/stripe/resources/subscription_schedule.rb', line 2000 def type @type end |