Class: Stripe::V2::Billing::IntentCreateParams::Action
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::V2::Billing::IntentCreateParams::Action
- Defined in:
- lib/stripe/params/v2/billing/intent_create_params.rb
Defined Under Namespace
Classes: Apply, Deactivate, Modify, Remove, Subscribe
Instance Attribute Summary collapse
-
#apply ⇒ Object
Details for an apply action.
-
#deactivate ⇒ Object
Details for a deactivate action.
-
#modify ⇒ Object
Details for a modify action.
-
#remove ⇒ Object
Details for a remove action.
-
#subscribe ⇒ Object
Details for a subscribe action.
-
#type ⇒ Object
Type of the Billing Intent action.
Instance Method Summary collapse
-
#initialize(type: nil, apply: nil, deactivate: nil, modify: nil, remove: nil, subscribe: nil) ⇒ Action
constructor
A new instance of Action.
Methods inherited from RequestParams
Constructor Details
#initialize(type: nil, apply: nil, deactivate: nil, modify: nil, remove: nil, subscribe: nil) ⇒ Action
Returns a new instance of Action.
394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 |
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 394 def initialize( type: nil, apply: nil, deactivate: nil, modify: nil, remove: nil, subscribe: nil ) @type = type @apply = apply @deactivate = deactivate @modify = modify @remove = remove @subscribe = subscribe end |
Instance Attribute Details
#apply ⇒ Object
Details for an apply action.
384 385 386 |
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 384 def apply @apply end |
#deactivate ⇒ Object
Details for a deactivate action.
386 387 388 |
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 386 def deactivate @deactivate end |
#modify ⇒ Object
Details for a modify action.
388 389 390 |
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 388 def modify @modify end |
#remove ⇒ Object
Details for a remove action.
390 391 392 |
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 390 def remove @remove end |
#subscribe ⇒ Object
Details for a subscribe action.
392 393 394 |
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 392 def subscribe @subscribe end |
#type ⇒ Object
Type of the Billing Intent action.
382 383 384 |
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 382 def type @type end |