Class: Unit::Card::PatchBusinessCreditCardRequest

Inherits:
PatchBusinessCardRequest show all
Defined in:
lib/unit/models/card/patch_business_credit_card_request.rb

Instance Attribute Summary

Attributes inherited from PatchBusinessCardRequest

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

Instance Method Summary collapse

Methods inherited from PatchBusinessCardRequest

#to_json_api

Constructor Details

#initialize(card_id, shipping_address = nil, address = nil, phone = nil, email = nil, design = nil, tags = nil, limits = nil) ⇒ PatchBusinessCreditCardRequest

Returns a new instance of PatchBusinessCreditCardRequest.

Parameters:

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

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

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

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

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

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

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



16
17
18
19
# File 'lib/unit/models/card/patch_business_credit_card_request.rb', line 16

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