Class: CheckoutSdk::Accounts::Representative
- Inherits:
-
Object
- Object
- CheckoutSdk::Accounts::Representative
- Defined in:
- lib/checkout_sdk/accounts/representative.rb
Instance Attribute Summary collapse
- #address ⇒ CheckoutSdk::Common::Address
- #company_position ⇒ String
- #date_of_birth ⇒ DateOfBirth
- #documents ⇒ OnboardSubEntityDocuments
- #first_name ⇒ String
- #id ⇒ String
- #identification ⇒ Identification
-
#individual ⇒ RepresentativeIndividual
Personal details (Accounts API v3.0).
- #last_name ⇒ String
- #ownership_percentage ⇒ Integer
- #phone ⇒ Phone
- #place_of_birth ⇒ PlaceOfBirth
- #roles ⇒ Array(String)
Instance Attribute Details
#address ⇒ CheckoutSdk::Common::Address
31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 |
# File 'lib/checkout_sdk/accounts/representative.rb', line 31 class Representative attr_accessor :id, :individual, :company_position, :ownership_percentage, :roles, :documents, # v2.0 only — deprecated; use `individual` for v3.0 :first_name, :last_name, :address, :identification, :phone, :date_of_birth, :place_of_birth end |
#company_position ⇒ String
Returns CompanyPosition.
31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 |
# File 'lib/checkout_sdk/accounts/representative.rb', line 31 class Representative attr_accessor :id, :individual, :company_position, :ownership_percentage, :roles, :documents, # v2.0 only — deprecated; use `individual` for v3.0 :first_name, :last_name, :address, :identification, :phone, :date_of_birth, :place_of_birth end |
#date_of_birth ⇒ DateOfBirth
31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 |
# File 'lib/checkout_sdk/accounts/representative.rb', line 31 class Representative attr_accessor :id, :individual, :company_position, :ownership_percentage, :roles, :documents, # v2.0 only — deprecated; use `individual` for v3.0 :first_name, :last_name, :address, :identification, :phone, :date_of_birth, :place_of_birth end |
#documents ⇒ OnboardSubEntityDocuments
31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 |
# File 'lib/checkout_sdk/accounts/representative.rb', line 31 class Representative attr_accessor :id, :individual, :company_position, :ownership_percentage, :roles, :documents, # v2.0 only — deprecated; use `individual` for v3.0 :first_name, :last_name, :address, :identification, :phone, :date_of_birth, :place_of_birth end |
#first_name ⇒ String
31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 |
# File 'lib/checkout_sdk/accounts/representative.rb', line 31 class Representative attr_accessor :id, :individual, :company_position, :ownership_percentage, :roles, :documents, # v2.0 only — deprecated; use `individual` for v3.0 :first_name, :last_name, :address, :identification, :phone, :date_of_birth, :place_of_birth end |
#id ⇒ String
31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 |
# File 'lib/checkout_sdk/accounts/representative.rb', line 31 class Representative attr_accessor :id, :individual, :company_position, :ownership_percentage, :roles, :documents, # v2.0 only — deprecated; use `individual` for v3.0 :first_name, :last_name, :address, :identification, :phone, :date_of_birth, :place_of_birth end |
#identification ⇒ Identification
31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 |
# File 'lib/checkout_sdk/accounts/representative.rb', line 31 class Representative attr_accessor :id, :individual, :company_position, :ownership_percentage, :roles, :documents, # v2.0 only — deprecated; use `individual` for v3.0 :first_name, :last_name, :address, :identification, :phone, :date_of_birth, :place_of_birth end |
#individual ⇒ RepresentativeIndividual
Returns Personal details (Accounts API v3.0).
31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 |
# File 'lib/checkout_sdk/accounts/representative.rb', line 31 class Representative attr_accessor :id, :individual, :company_position, :ownership_percentage, :roles, :documents, # v2.0 only — deprecated; use `individual` for v3.0 :first_name, :last_name, :address, :identification, :phone, :date_of_birth, :place_of_birth end |
#last_name ⇒ String
31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 |
# File 'lib/checkout_sdk/accounts/representative.rb', line 31 class Representative attr_accessor :id, :individual, :company_position, :ownership_percentage, :roles, :documents, # v2.0 only — deprecated; use `individual` for v3.0 :first_name, :last_name, :address, :identification, :phone, :date_of_birth, :place_of_birth end |
#ownership_percentage ⇒ Integer
31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 |
# File 'lib/checkout_sdk/accounts/representative.rb', line 31 class Representative attr_accessor :id, :individual, :company_position, :ownership_percentage, :roles, :documents, # v2.0 only — deprecated; use `individual` for v3.0 :first_name, :last_name, :address, :identification, :phone, :date_of_birth, :place_of_birth end |
#phone ⇒ Phone
31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 |
# File 'lib/checkout_sdk/accounts/representative.rb', line 31 class Representative attr_accessor :id, :individual, :company_position, :ownership_percentage, :roles, :documents, # v2.0 only — deprecated; use `individual` for v3.0 :first_name, :last_name, :address, :identification, :phone, :date_of_birth, :place_of_birth end |
#place_of_birth ⇒ PlaceOfBirth
31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 |
# File 'lib/checkout_sdk/accounts/representative.rb', line 31 class Representative attr_accessor :id, :individual, :company_position, :ownership_percentage, :roles, :documents, # v2.0 only — deprecated; use `individual` for v3.0 :first_name, :last_name, :address, :identification, :phone, :date_of_birth, :place_of_birth end |
#roles ⇒ Array(String)
31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 |
# File 'lib/checkout_sdk/accounts/representative.rb', line 31 class Representative attr_accessor :id, :individual, :company_position, :ownership_percentage, :roles, :documents, # v2.0 only — deprecated; use `individual` for v3.0 :first_name, :last_name, :address, :identification, :phone, :date_of_birth, :place_of_birth end |