Class: Stripe::V2::Core::Accounts::PersonUpdateParams

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

Defined Under Namespace

Classes: AdditionalAddress, AdditionalName, AdditionalTermsOfService, Address, DateOfBirth, Documents, IdNumber, Relationship, ScriptAddresses, ScriptNames

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(additional_addresses: nil, additional_names: nil, additional_terms_of_service: nil, address: nil, date_of_birth: nil, documents: nil, email: nil, given_name: nil, id_numbers: nil, legal_gender: nil, metadata: nil, nationalities: nil, person_token: nil, phone: nil, political_exposure: nil, relationship: nil, script_addresses: nil, script_names: nil, surname: nil) ⇒ PersonUpdateParams

Returns a new instance of PersonUpdateParams.



452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
# File 'lib/stripe/params/v2/core/accounts/person_update_params.rb', line 452

def initialize(
  additional_addresses: nil,
  additional_names: nil,
  additional_terms_of_service: nil,
  address: nil,
  date_of_birth: nil,
  documents: nil,
  email: nil,
  given_name: nil,
  id_numbers: nil,
  legal_gender: nil,
  metadata: nil,
  nationalities: nil,
  person_token: nil,
  phone: nil,
  political_exposure: nil,
  relationship: nil,
  script_addresses: nil,
  script_names: nil,
  surname: nil
)
  @additional_addresses = additional_addresses
  @additional_names = additional_names
  @additional_terms_of_service = additional_terms_of_service
  @address = address
  @date_of_birth = date_of_birth
  @documents = documents
  @email = email
  @given_name = given_name
  @id_numbers = id_numbers
  @legal_gender = legal_gender
   = 
  @nationalities = nationalities
  @person_token = person_token
  @phone = phone
  @political_exposure = political_exposure
  @relationship = relationship
  @script_addresses = script_addresses
  @script_names = script_names
  @surname = surname
end

Instance Attribute Details

#additional_addressesObject

Additional addresses associated with the person.



414
415
416
# File 'lib/stripe/params/v2/core/accounts/person_update_params.rb', line 414

def additional_addresses
  @additional_addresses
end

#additional_namesObject

Additional names (e.g. aliases) associated with the person.



416
417
418
# File 'lib/stripe/params/v2/core/accounts/person_update_params.rb', line 416

def additional_names
  @additional_names
end

#additional_terms_of_serviceObject

Attestations of accepted terms of service agreements.



418
419
420
# File 'lib/stripe/params/v2/core/accounts/person_update_params.rb', line 418

def additional_terms_of_service
  @additional_terms_of_service
end

#addressObject

The primary address associated with the person.



420
421
422
# File 'lib/stripe/params/v2/core/accounts/person_update_params.rb', line 420

def address
  @address
end

#date_of_birthObject

The person’s date of birth.



422
423
424
# File 'lib/stripe/params/v2/core/accounts/person_update_params.rb', line 422

def date_of_birth
  @date_of_birth
end

#documentsObject

Documents that may be submitted to satisfy various informational requests.



424
425
426
# File 'lib/stripe/params/v2/core/accounts/person_update_params.rb', line 424

def documents
  @documents
end

#emailObject

Email.



426
427
428
# File 'lib/stripe/params/v2/core/accounts/person_update_params.rb', line 426

def email
  @email
end

#given_nameObject

The person’s first name.



428
429
430
# File 'lib/stripe/params/v2/core/accounts/person_update_params.rb', line 428

def given_name
  @given_name
end

#id_numbersObject

The identification numbers (e.g., SSN) associated with the person.



430
431
432
# File 'lib/stripe/params/v2/core/accounts/person_update_params.rb', line 430

def id_numbers
  @id_numbers
end

The person’s gender (International regulations require either “male” or “female”).



432
433
434
# File 'lib/stripe/params/v2/core/accounts/person_update_params.rb', line 432

def legal_gender
  @legal_gender
end

#metadataObject

Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.



434
435
436
# File 'lib/stripe/params/v2/core/accounts/person_update_params.rb', line 434

def 
  
end

#nationalitiesObject

The nationalities (countries) this person is associated with.



436
437
438
# File 'lib/stripe/params/v2/core/accounts/person_update_params.rb', line 436

def nationalities
  @nationalities
end

#person_tokenObject

The person token generated by the person token api.



438
439
440
# File 'lib/stripe/params/v2/core/accounts/person_update_params.rb', line 438

def person_token
  @person_token
end

#phoneObject

The phone number for this person.



440
441
442
# File 'lib/stripe/params/v2/core/accounts/person_update_params.rb', line 440

def phone
  @phone
end

#political_exposureObject

The person’s political exposure.



442
443
444
# File 'lib/stripe/params/v2/core/accounts/person_update_params.rb', line 442

def political_exposure
  @political_exposure
end

#relationshipObject

The relationship that this person has with the Account’s business or legal entity.



444
445
446
# File 'lib/stripe/params/v2/core/accounts/person_update_params.rb', line 444

def relationship
  @relationship
end

#script_addressesObject

The script addresses (e.g., non-Latin characters) associated with the person.



446
447
448
# File 'lib/stripe/params/v2/core/accounts/person_update_params.rb', line 446

def script_addresses
  @script_addresses
end

#script_namesObject

The script names (e.g. non-Latin characters) associated with the person.



448
449
450
# File 'lib/stripe/params/v2/core/accounts/person_update_params.rb', line 448

def script_names
  @script_names
end

#surnameObject

The person’s last name.



450
451
452
# File 'lib/stripe/params/v2/core/accounts/person_update_params.rb', line 450

def surname
  @surname
end