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

attr_accessor, new, #to_h

Constructor Details

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

Returns a new instance of Identity.



1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
# File 'lib/stripe/params/v2/core/account_token_create_params.rb', line 1251

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.



1243
1244
1245
# File 'lib/stripe/params/v2/core/account_token_create_params.rb', line 1243

def attestations
  @attestations
end

#business_detailsObject

Information about the company or business.



1245
1246
1247
# File 'lib/stripe/params/v2/core/account_token_create_params.rb', line 1245

def business_details
  @business_details
end

#entity_typeObject

The entity type.



1247
1248
1249
# File 'lib/stripe/params/v2/core/account_token_create_params.rb', line 1247

def entity_type
  @entity_type
end

#individualObject

Information about the person represented by the account.



1249
1250
1251
# File 'lib/stripe/params/v2/core/account_token_create_params.rb', line 1249

def individual
  @individual
end