Class: Stripe::V2::Core::AccountTokenCreateParams::Identity

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/v2/core/account_token_create_params.rb

Defined Under Namespace

Classes: Attestations, BusinessDetails, Individual

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(attestations: nil, business_details: nil, entity_type: nil, individual: nil) ⇒ Identity

Returns a new instance of Identity.



1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
# File 'lib/stripe/params/v2/core/account_token_create_params.rb', line 1015

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

#attestationsObject

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



1007
1008
1009
# File 'lib/stripe/params/v2/core/account_token_create_params.rb', line 1007

def attestations
  @attestations
end

#business_detailsObject

Information about the company or business.



1009
1010
1011
# File 'lib/stripe/params/v2/core/account_token_create_params.rb', line 1009

def business_details
  @business_details
end

#entity_typeObject

The entity type.



1011
1012
1013
# File 'lib/stripe/params/v2/core/account_token_create_params.rb', line 1011

def entity_type
  @entity_type
end

#individualObject

Information about the person represented by the account.



1013
1014
1015
# File 'lib/stripe/params/v2/core/account_token_create_params.rb', line 1013

def individual
  @individual
end