Class: Stripe::V2::Core::Accounts::PersonTokenCreateParams
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::V2::Core::Accounts::PersonTokenCreateParams
- Defined in:
- lib/stripe/params/v2/core/accounts/person_token_create_params.rb
Defined Under Namespace
Classes: AdditionalAddress, AdditionalName, AdditionalTermsOfService, Address, DateOfBirth, Documents, IdNumber, Relationship, ScriptAddresses, ScriptNames
Instance Attribute Summary collapse
-
#additional_addresses ⇒ Object
Additional addresses associated with the person.
-
#additional_names ⇒ Object
Additional names (e.g. aliases) associated with the person.
-
#additional_terms_of_service ⇒ Object
Attestations of accepted terms of service agreements.
-
#address ⇒ Object
The person’s residential address.
-
#date_of_birth ⇒ Object
The person’s date of birth.
-
#documents ⇒ Object
Documents that may be submitted to satisfy various informational requests.
-
#email ⇒ Object
Email.
-
#given_name ⇒ Object
The person’s first name.
-
#id_numbers ⇒ Object
The identification numbers (e.g., SSN) associated with the person.
-
#legal_gender ⇒ Object
The person’s gender (International regulations require either “male” or “female”).
-
#metadata ⇒ Object
Set of key-value pairs that you can attach to an object.
-
#nationalities ⇒ Object
The nationalities (countries) this person is associated with.
-
#phone ⇒ Object
The phone number for this person.
-
#political_exposure ⇒ Object
The person’s political exposure.
-
#relationship ⇒ Object
The relationship that this person has with the Account’s business or legal entity.
-
#script_addresses ⇒ Object
The script addresses (e.g., non-Latin characters) associated with the person.
-
#script_names ⇒ Object
The script names (e.g. non-Latin characters) associated with the person.
-
#surname ⇒ Object
The person’s last name.
Instance Method Summary collapse
-
#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, phone: nil, political_exposure: nil, relationship: nil, script_addresses: nil, script_names: nil, surname: nil) ⇒ PersonTokenCreateParams
constructor
A new instance of PersonTokenCreateParams.
Methods inherited from RequestParams
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, phone: nil, political_exposure: nil, relationship: nil, script_addresses: nil, script_names: nil, surname: nil) ⇒ PersonTokenCreateParams
Returns a new instance of PersonTokenCreateParams.
444 445 446 447 448 449 450 451 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 |
# File 'lib/stripe/params/v2/core/accounts/person_token_create_params.rb', line 444 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, 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 @phone = phone @political_exposure = political_exposure @relationship = relationship @script_addresses = script_addresses @script_names = script_names @surname = surname end |
Instance Attribute Details
#additional_addresses ⇒ Object
Additional addresses associated with the person.
408 409 410 |
# File 'lib/stripe/params/v2/core/accounts/person_token_create_params.rb', line 408 def additional_addresses @additional_addresses end |
#additional_names ⇒ Object
Additional names (e.g. aliases) associated with the person.
410 411 412 |
# File 'lib/stripe/params/v2/core/accounts/person_token_create_params.rb', line 410 def additional_names @additional_names end |
#additional_terms_of_service ⇒ Object
Attestations of accepted terms of service agreements.
412 413 414 |
# File 'lib/stripe/params/v2/core/accounts/person_token_create_params.rb', line 412 def additional_terms_of_service @additional_terms_of_service end |
#address ⇒ Object
The person’s residential address.
414 415 416 |
# File 'lib/stripe/params/v2/core/accounts/person_token_create_params.rb', line 414 def address @address end |
#date_of_birth ⇒ Object
The person’s date of birth.
416 417 418 |
# File 'lib/stripe/params/v2/core/accounts/person_token_create_params.rb', line 416 def date_of_birth @date_of_birth end |
#documents ⇒ Object
Documents that may be submitted to satisfy various informational requests.
418 419 420 |
# File 'lib/stripe/params/v2/core/accounts/person_token_create_params.rb', line 418 def documents @documents end |
#email ⇒ Object
Email.
420 421 422 |
# File 'lib/stripe/params/v2/core/accounts/person_token_create_params.rb', line 420 def email @email end |
#given_name ⇒ Object
The person’s first name.
422 423 424 |
# File 'lib/stripe/params/v2/core/accounts/person_token_create_params.rb', line 422 def given_name @given_name end |
#id_numbers ⇒ Object
The identification numbers (e.g., SSN) associated with the person.
424 425 426 |
# File 'lib/stripe/params/v2/core/accounts/person_token_create_params.rb', line 424 def id_numbers @id_numbers end |
#legal_gender ⇒ Object
The person’s gender (International regulations require either “male” or “female”).
426 427 428 |
# File 'lib/stripe/params/v2/core/accounts/person_token_create_params.rb', line 426 def legal_gender @legal_gender end |
#metadata ⇒ Object
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.
428 429 430 |
# File 'lib/stripe/params/v2/core/accounts/person_token_create_params.rb', line 428 def end |
#nationalities ⇒ Object
The nationalities (countries) this person is associated with.
430 431 432 |
# File 'lib/stripe/params/v2/core/accounts/person_token_create_params.rb', line 430 def nationalities @nationalities end |
#phone ⇒ Object
The phone number for this person.
432 433 434 |
# File 'lib/stripe/params/v2/core/accounts/person_token_create_params.rb', line 432 def phone @phone end |
#political_exposure ⇒ Object
The person’s political exposure.
434 435 436 |
# File 'lib/stripe/params/v2/core/accounts/person_token_create_params.rb', line 434 def political_exposure @political_exposure end |
#relationship ⇒ Object
The relationship that this person has with the Account’s business or legal entity.
436 437 438 |
# File 'lib/stripe/params/v2/core/accounts/person_token_create_params.rb', line 436 def relationship @relationship end |
#script_addresses ⇒ Object
The script addresses (e.g., non-Latin characters) associated with the person.
438 439 440 |
# File 'lib/stripe/params/v2/core/accounts/person_token_create_params.rb', line 438 def script_addresses @script_addresses end |
#script_names ⇒ Object
The script names (e.g. non-Latin characters) associated with the person.
440 441 442 |
# File 'lib/stripe/params/v2/core/accounts/person_token_create_params.rb', line 440 def script_names @script_names end |
#surname ⇒ Object
The person’s last name.
442 443 444 |
# File 'lib/stripe/params/v2/core/accounts/person_token_create_params.rb', line 442 def surname @surname end |