Class: Stripe::V2::Billing::IntentCreateParams::Action

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/v2/billing/intent_create_params.rb

Defined Under Namespace

Classes: Apply, Deactivate, Modify, Remove, Subscribe

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(type: nil, apply: nil, deactivate: nil, modify: nil, remove: nil, subscribe: nil) ⇒ Action

Returns a new instance of Action.



410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 410

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

#applyObject

Details for an apply action.



400
401
402
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 400

def apply
  @apply
end

#deactivateObject

Details for a deactivate action.



402
403
404
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 402

def deactivate
  @deactivate
end

#modifyObject

Details for a modify action.



404
405
406
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 404

def modify
  @modify
end

#removeObject

Details for a remove action.



406
407
408
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 406

def remove
  @remove
end

#subscribeObject

Details for a subscribe action.



408
409
410
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 408

def subscribe
  @subscribe
end

#typeObject

Type of the Billing Intent action.



398
399
400
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 398

def type
  @type
end