Class: CheckoutSdk::Accounts::AccountHolderCorporate

Inherits:
AccountHolder
  • Object
show all
Defined in:
lib/checkout_sdk/accounts/account_holder_corporate.rb

Instance Attribute Summary collapse

Attributes inherited from AccountHolder

#billing_address, #country_of_birth, #date_of_birth, #email, #identification, #phone, #residential_status, #tax_id, #type

Instance Method Summary collapse

Constructor Details

#initializeAccountHolderCorporate

Returns a new instance of AccountHolderCorporate.



10
11
12
# File 'lib/checkout_sdk/accounts/account_holder_corporate.rb', line 10

def initialize
  super AccountHolderType::CORPORATE
end

Instance Attribute Details

#company_nameString

Returns:

  • (String)


7
8
9
10
11
12
13
# File 'lib/checkout_sdk/accounts/account_holder_corporate.rb', line 7

class AccountHolderCorporate < AccountHolder
  attr_accessor :company_name

  def initialize
    super AccountHolderType::CORPORATE
  end
end