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.



984
985
986
987
988
989
990
991
992
993
994
# File 'lib/stripe/params/v2/core/account_token_create_params.rb', line 984

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.



976
977
978
# File 'lib/stripe/params/v2/core/account_token_create_params.rb', line 976

def attestations
  @attestations
end

#business_detailsObject

Information about the company or business.



978
979
980
# File 'lib/stripe/params/v2/core/account_token_create_params.rb', line 978

def business_details
  @business_details
end

#entity_typeObject

The entity type.



980
981
982
# File 'lib/stripe/params/v2/core/account_token_create_params.rb', line 980

def entity_type
  @entity_type
end

#individualObject

Information about the person represented by the account.



982
983
984
# File 'lib/stripe/params/v2/core/account_token_create_params.rb', line 982

def individual
  @individual
end