Class: Stripe::V2::Core::AccountTokenCreateParams::Identity
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::V2::Core::AccountTokenCreateParams::Identity
- Defined in:
- lib/stripe/params/v2/core/account_token_create_params.rb
Defined Under Namespace
Classes: Attestations, BusinessDetails, Individual
Instance Attribute Summary collapse
-
#attestations ⇒ Object
Attestations from the identity’s key people, e.g.
-
#business_details ⇒ Object
Information about the company or business.
-
#entity_type ⇒ Object
The entity type.
-
#individual ⇒ Object
Information about the person represented by the account.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(attestations: nil, business_details: nil, entity_type: nil, individual: nil) ⇒ Identity
constructor
A new instance of Identity.
Methods inherited from RequestParams
attr_accessor, coerce_params, coerce_value, new, #to_h
Constructor Details
#initialize(attestations: nil, business_details: nil, entity_type: nil, individual: nil) ⇒ Identity
Returns a new instance of Identity.
1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 |
# File 'lib/stripe/params/v2/core/account_token_create_params.rb', line 1025 def initialize( attestations: nil, business_details: nil, entity_type: nil, individual: nil ) @attestations = attestations @business_details = business_details @entity_type = entity_type @individual = individual end |
Instance Attribute Details
#attestations ⇒ Object
Attestations from the identity’s key people, e.g. owners, executives, directors, representatives.
1017 1018 1019 |
# File 'lib/stripe/params/v2/core/account_token_create_params.rb', line 1017 def attestations @attestations end |
#business_details ⇒ Object
Information about the company or business.
1019 1020 1021 |
# File 'lib/stripe/params/v2/core/account_token_create_params.rb', line 1019 def business_details @business_details end |
#entity_type ⇒ Object
The entity type.
1021 1022 1023 |
# File 'lib/stripe/params/v2/core/account_token_create_params.rb', line 1021 def entity_type @entity_type end |
#individual ⇒ Object
Information about the person represented by the account.
1023 1024 1025 |
# File 'lib/stripe/params/v2/core/account_token_create_params.rb', line 1023 def individual @individual end |
Class Method Details
.field_encodings ⇒ Object
1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 |
# File 'lib/stripe/params/v2/core/account_token_create_params.rb', line 1037 def self.field_encodings @field_encodings = { individual: { kind: :object, fields: { relationship: { kind: :object, fields: { percent_ownership: :decimal_string } }, }, }, } end |