Class: Braintree::MerchantAccount::BusinessDetails

Inherits:
Object
  • Object
show all
Includes:
BaseModule
Defined in:
lib/braintree/merchant_account/business_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) ⇒ BusinessDetails

Returns a new instance of BusinessDetails.



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

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/business_details.rb', line 6

def address_details
  @address_details
end

#dba_nameObject (readonly)

Returns the value of attribute dba_name.



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

def dba_name
  @dba_name
end

Returns the value of attribute legal_name.



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

def legal_name
  @legal_name
end

#tax_idObject (readonly)

Returns the value of attribute tax_id.



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

def tax_id
  @tax_id
end