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.



503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 503

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.



493
494
495
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 493

def apply
  @apply
end

#deactivateObject

Details for a deactivate action.



495
496
497
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 495

def deactivate
  @deactivate
end

#modifyObject

Details for a modify action.



497
498
499
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 497

def modify
  @modify
end

#removeObject

Details for a remove action.



499
500
501
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 499

def remove
  @remove
end

#subscribeObject

Details for a subscribe action.



501
502
503
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 501

def subscribe
  @subscribe
end

#typeObject

Type of the Billing Intent action.



491
492
493
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 491

def type
  @type
end