Class: Stripe::V2::Core::Account::Identity

Inherits:
StripeObject show all
Defined in:
lib/stripe/resources/v2/core/account.rb

Defined Under Namespace

Classes: Attestations, BusinessDetails, Individual

Constant Summary

Constants inherited from StripeObject

StripeObject::RESERVED_FIELD_NAMES

Instance Attribute Summary collapse

Attributes inherited from StripeObject

#last_response

Method Summary

Methods inherited from StripeObject

#==, #[], #[]=, additive_object_param, additive_object_param?, #as_json, construct_from, #deleted?, #dirty!, #each, #eql?, #hash, #initialize, #inspect, #keys, #marshal_dump, #marshal_load, protected_fields, #serialize_params, #to_hash, #to_json, #to_s, #update_attributes, #values

Constructor Details

This class inherits a constructor from Stripe::StripeObject

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Stripe::StripeObject

Instance Attribute Details

#attestationsObject (readonly)

Attestations from the identity’s key people, e.g. owners, executives, directors.



1813
1814
1815
# File 'lib/stripe/resources/v2/core/account.rb', line 1813

def attestations
  @attestations
end

#business_detailsObject (readonly)

Information about the company or business.



1815
1816
1817
# File 'lib/stripe/resources/v2/core/account.rb', line 1815

def business_details
  @business_details
end

#countryObject (readonly)

The country in which the account holder resides, or in which the business is legally established. This should be an [ISO 3166-1 alpha-2](en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code.



1817
1818
1819
# File 'lib/stripe/resources/v2/core/account.rb', line 1817

def country
  @country
end

#entity_typeObject (readonly)

The entity type.



1819
1820
1821
# File 'lib/stripe/resources/v2/core/account.rb', line 1819

def entity_type
  @entity_type
end

#individualObject (readonly)

Information about the individual represented by the Account. This property is ‘null` unless `entity_type` is set to `individual`.



1821
1822
1823
# File 'lib/stripe/resources/v2/core/account.rb', line 1821

def individual
  @individual
end