Class: CheckoutSdk::Accounts::AccountHolderIndividual

Inherits:
AccountHolder
  • Object
show all
Defined in:
lib/checkout_sdk/accounts/account_holder_individual.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

#initializeAccountHolderIndividual

Returns a new instance of AccountHolderIndividual.



13
14
15
# File 'lib/checkout_sdk/accounts/account_holder_individual.rb', line 13

def initialize
  super AccountHolderType::INDIVIDUAL
end

Instance Attribute Details

#first_nameString

Returns:

  • (String)


9
10
11
12
13
14
15
16
# File 'lib/checkout_sdk/accounts/account_holder_individual.rb', line 9

class AccountHolderIndividual < AccountHolder
  attr_accessor :first_name,
                :last_name

  def initialize
    super AccountHolderType::INDIVIDUAL
  end
end

#last_nameString

Returns:

  • (String)


9
10
11
12
13
14
15
16
# File 'lib/checkout_sdk/accounts/account_holder_individual.rb', line 9

class AccountHolderIndividual < AccountHolder
  attr_accessor :first_name,
                :last_name

  def initialize
    super AccountHolderType::INDIVIDUAL
  end
end