Class: Unit::Card::PatchBusinessVirtualCreditCardRequest

Inherits:
PatchBusinessVirtualCardRequest show all
Defined in:
lib/unit/models/card/patch_business_virtual_credit_card_request.rb

Instance Attribute Summary

Attributes inherited from PatchBusinessVirtualCardRequest

#address, #card_id, #email, #limits, #phone, #tags, #type

Instance Method Summary collapse

Methods inherited from PatchBusinessVirtualCardRequest

#to_json_api

Constructor Details

#initialize(card_id, address = nil, phone = nil, email = nil, tags = nil, limits = nil) ⇒ PatchBusinessVirtualCreditCardRequest

Returns a new instance of PatchBusinessVirtualCreditCardRequest.

Parameters:

  • card_id (String)
  • address (Address) (defaults to: nil)
    • optional

  • phone (Phone) (defaults to: nil)
    • optional

  • email (String) (defaults to: nil)
    • optional

  • tags (Hash) (defaults to: nil)
    • optional

  • limits (Hash) (defaults to: nil)
    • optional



14
15
16
17
# File 'lib/unit/models/card/patch_business_virtual_credit_card_request.rb', line 14

def initialize(card_id, address = nil, phone = nil, email = nil, tags = nil, limits = nil)
  super
  @type = "businessVirtualCreditCard"
end