class MangoModel::LegalUser
User
entity of PersonType::LEGAL
A Legal User
represents a business or an organization.
Attributes
company_number[RW]
- String
headquarters_address[RW]
Address
-
Their headquarters' address
legal_person_type[RW]
LegalPersonType
-
Type of legal user
legal_representative_address[RW]
Address
-
Their legal representative's physical address
legal_representative_birthday[RW]
- Integer
-
Their legal representative's birthday (UNIX timestamp)
legal_representative_country_of_residence[RW]
CountryIso
-
Their legal representative's country of residence
legal_representative_email[RW]
- String
-
Their legal representative's email address
legal_representative_first_name[RW]
- String
-
Their legal representative's first name
legal_representative_last_name[RW]
- String
-
Their legal representative's last name
legal_representative_nationality[RW]
CountryIso
-
Their legal representative's nationality
name[RW]
- String
-
Their name
proof_of_registration[RW]
- String
-
Their proof of registration
statute[RW]
- String
-
Their statute
Public Class Methods
new()
click to toggle source
# File lib/mangopay/model/entity/user/legal_user.rb, line 52 def initialize self.person_type = PersonType::LEGAL end