Class: Braintree::MerchantAccount::IndividualDetails

Inherits:
Object
  • Object
show all
Includes:
BaseModule
Defined in:
lib/braintree/merchant_account/individual_details.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from BaseModule

included

Methods included from BaseModule::Methods

#copy_instance_variables_from_object, #return_object_or_raise, #set_instance_variables_from_hash, #singleton_class

Constructor Details

#initialize(attributes) ⇒ IndividualDetails

Returns a new instance of IndividualDetails.



14
15
16
17
# File 'lib/braintree/merchant_account/individual_details.rb', line 14

def initialize(attributes)
  set_instance_variables_from_hash attributes unless attributes.nil?
  @address_details = MerchantAccount::AddressDetails.new(@address)
end

Instance Attribute Details

#address_detailsObject (readonly)

Returns the value of attribute address_details.



6
7
8
# File 'lib/braintree/merchant_account/individual_details.rb', line 6

def address_details
  @address_details
end

#date_of_birthObject (readonly)

Returns the value of attribute date_of_birth.



7
8
9
# File 'lib/braintree/merchant_account/individual_details.rb', line 7

def date_of_birth
  @date_of_birth
end

#emailObject (readonly)

Returns the value of attribute email.



8
9
10
# File 'lib/braintree/merchant_account/individual_details.rb', line 8

def email
  @email
end

#first_nameObject (readonly)

Returns the value of attribute first_name.



9
10
11
# File 'lib/braintree/merchant_account/individual_details.rb', line 9

def first_name
  @first_name
end

#last_nameObject (readonly)

Returns the value of attribute last_name.



10
11
12
# File 'lib/braintree/merchant_account/individual_details.rb', line 10

def last_name
  @last_name
end

#phoneObject (readonly)

Returns the value of attribute phone.



11
12
13
# File 'lib/braintree/merchant_account/individual_details.rb', line 11

def phone
  @phone
end

#ssn_last_4Object (readonly)

Returns the value of attribute ssn_last_4.



12
13
14
# File 'lib/braintree/merchant_account/individual_details.rb', line 12

def ssn_last_4
  @ssn_last_4
end