Class: Braintree::MerchantAccount::IndividualDetails
- Inherits:
-
Object
- Object
- Braintree::MerchantAccount::IndividualDetails
- Includes:
- BaseModule
- Defined in:
- lib/braintree/merchant_account/individual_details.rb
Instance Attribute Summary collapse
-
#address_details ⇒ Object
readonly
Returns the value of attribute address_details.
-
#date_of_birth ⇒ Object
readonly
Returns the value of attribute date_of_birth.
-
#email ⇒ Object
readonly
Returns the value of attribute email.
-
#first_name ⇒ Object
readonly
Returns the value of attribute first_name.
-
#last_name ⇒ Object
readonly
Returns the value of attribute last_name.
-
#phone ⇒ Object
readonly
Returns the value of attribute phone.
-
#ssn_last_4 ⇒ Object
readonly
Returns the value of attribute ssn_last_4.
Instance Method Summary collapse
-
#initialize(attributes) ⇒ IndividualDetails
constructor
A new instance of IndividualDetails.
Methods included from BaseModule
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_details ⇒ Object (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_birth ⇒ Object (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 |
#email ⇒ Object (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_name ⇒ Object (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_name ⇒ Object (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 |
#phone ⇒ Object (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_4 ⇒ Object (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 |