Class: Unit::Card::CreateBusinessCreditCardRequest

Inherits:
CreateBusinessDebitCardRequest show all
Defined in:
lib/unit/models/card/create_business_credit_card_request.rb

Instance Attribute Summary

Attributes inherited from CreateBusinessDebitCardRequest

#account_id, #additional_embossed_text, #address, #date_of_birth, #design, #email, #expiry_date, #full_name, #idempotency_key, #limits, #phone, #print_only_business_name, #shipping_address, #tags, #type

Instance Method Summary collapse

Methods inherited from CreateBusinessDebitCardRequest

#to_json_api

Constructor Details

#initialize(account_id, full_name, date_of_birth, address, shipping_address = nil, phone = nil, email = nil, design = nil, additional_embossed_text = nil, idempotency_key = nil, tags = nil, limits = nil, print_only_business_name = nil, expiry_date = nil) ⇒ CreateBusinessCreditCardRequest

Returns a new instance of CreateBusinessCreditCardRequest.

Parameters:

  • account_id (String)
  • full_name (FullName)
  • date_of_birth (Date)
  • address (Address)
  • shipping_address (Address) (defaults to: nil)
    • optional

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

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

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

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

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

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

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

  • print_only_business_name (Boolean) (defaults to: nil)
    • optional

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



22
23
24
25
26
# File 'lib/unit/models/card/create_business_credit_card_request.rb', line 22

def initialize(, full_name, date_of_birth, address, shipping_address = nil, phone = nil, email = nil, design = nil,
               additional_embossed_text = nil, idempotency_key = nil, tags = nil, limits = nil, print_only_business_name = nil, expiry_date = nil)
  super
  @type = "businessCreditCard"
end