class

Stripe::IndividualSpecs

Inherits OpenApi::Json < OpenApi::Validatable < JSON::Serializable::Unmapped < JSON::Serializable < Reference < Object

Constants

ERROR_MESSAGE_FOR_POLITICAL_EXPOSURE = "invalid value for \"political_exposure\", must be one of [existing, none]."
MAX_LENGTH_FOR_FIRST_NAME = 100
MAX_LENGTH_FOR_FIRST_NAME_KANA = 5000
MAX_LENGTH_FOR_FIRST_NAME_KANJI = 5000
MAX_LENGTH_FOR_ID_NUMBER = 5000
MAX_LENGTH_FOR_ID_NUMBER_SECONDARY = 5000
MAX_LENGTH_FOR_LAST_NAME = 100
MAX_LENGTH_FOR_LAST_NAME_KANA = 5000
MAX_LENGTH_FOR_LAST_NAME_KANJI = 5000
MAX_LENGTH_FOR_MAIDEN_NAME = 5000
MAX_LENGTH_FOR_SSN_LAST_4 = 5000
VALID_VALUES_FOR_POLITICAL_EXPOSURE = String.static_array("existing", "none")

Constructors

new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source
new(*, address : Stripe::AddressSpecs | Nil = nil, address_kana : Stripe::JapanAddressKanaSpecs | Nil = nil, address_kanji : Stripe::JapanAddressKanjiSpecs | Nil = nil, dob : Stripe::IndividualSpecsDob | Nil = nil, email : String | Nil = nil, first_name : String | Nil = nil, first_name_kana : String | Nil = nil, first_name_kanji : String | Nil = nil, full_name_aliases : Stripe::IndividualSpecsFullNameAliases | Nil = nil, gender : String | Nil = nil, id_number : String | Nil = nil, id_number_secondary : String | Nil = nil, last_name : String | Nil = nil, last_name_kana : String | Nil = nil, last_name_kanji : String | Nil = nil, maiden_name : String | Nil = nil, metadata : Stripe::PostAccountsRequestMetadata | Nil = nil, phone : String | Nil = nil, political_exposure : String | Nil = nil, registered_address : Stripe::AddressSpecs | Nil = nil, relationship : Stripe::IndividualRelationshipSpecs | Nil = nil, ssn_last_4 : String | Nil = nil, verification : Stripe::PersonVerificationSpecs | Nil = nil)

Initializes the object @param [Hash] attributes Model attributes in the form of hash

Source

Instance methods

==(other : self)

Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes. #hash @return [UInt64] Hash code

address
Source
address=(new_value : Stripe::AddressSpecs | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] address Object to be assigned

Source
address_kana
Source
address_kana=(new_value : Stripe::JapanAddressKanaSpecs | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] address_kana Object to be assigned

Source
address_kanji
Source
address_kanji=(new_value : Stripe::JapanAddressKanjiSpecs | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] address_kanji Object to be assigned

Source
dob=(new_value : Stripe::IndividualSpecsDob | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] dob Object to be assigned

Source
email

The individual's email address.

Source
email=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] email Object to be assigned

Source
first_name

The individual's first name.

Source
first_name=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] first_name Object to be assigned

Source
first_name_kana

The Kana variation of the individual's first name (Japan only).

Source
first_name_kana=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] first_name_kana Object to be assigned

Source
first_name_kanji

The Kanji variation of the individual's first name (Japan only).

Source
first_name_kanji=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] first_name_kanji Object to be assigned

Source
full_name_aliases
Source
full_name_aliases=(new_value : Stripe::IndividualSpecsFullNameAliases | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] full_name_aliases Object to be assigned

Source
gender

The individual's gender (International regulations require either "male" or "female").

Source
gender=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] gender Object to be assigned

Source
hash(hasher)

Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes. #hash @return [UInt64] Hash code

id_number

The government-issued ID number of the individual, as appropriate for the representative's country. (Examples are a Social Security Number in the U.S., or a Social Insurance Number in Canada). Instead of the number itself, you can also provide a PII token created with Stripe.js.

Source
id_number=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] id_number Object to be assigned

Source
id_number_secondary

The government-issued secondary ID number of the individual, as appropriate for the representative's country, will be used for enhanced verification checks. In Thailand, this would be the laser code found on the back of an ID card. Instead of the number itself, you can also provide a PII token created with Stripe.js.

Source
id_number_secondary=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] id_number_secondary Object to be assigned

Source
last_name

The individual's last name.

Source
last_name=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] last_name Object to be assigned

Source
last_name_kana

The Kana variation of the individual's last name (Japan only).

Source
last_name_kana=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] last_name_kana Object to be assigned

Source
last_name_kanji

The Kanji variation of the individual's last name (Japan only).

Source
last_name_kanji=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] last_name_kanji Object to be assigned

Source
list_invalid_properties

Show invalid properties with the reasons. Usually used together with valid? @return Array for valid properties with the reasons

Source
maiden_name

The individual's maiden name.

Source
maiden_name=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] maiden_name Object to be assigned

Source
metadata
Source
metadata=(new_value : Stripe::PostAccountsRequestMetadata | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] metadata Object to be assigned

Source
phone

The individual's phone number.

Source
phone=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] phone Object to be assigned

Source
political_exposure

Indicates if the person or any of their representatives, family members, or other closely related persons, declares that they hold or have held an important public job or function, in any jurisdiction.

Source
political_exposure=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] political_exposure Object to be assigned

Source
registered_address
Source
registered_address=(new_value : Stripe::AddressSpecs | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] registered_address Object to be assigned

Source
relationship
Source
relationship=(new_value : Stripe::IndividualRelationshipSpecs | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] relationship Object to be assigned

Source
ssn_last_4

The last four digits of the individual's Social Security Number (U.S. only).

Source
ssn_last_4=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] ssn_last_4 Object to be assigned

Source
valid?

Check to see if the all the properties in the model are valid @return true if the model is valid

Source
verification
Source
verification=(new_value : Stripe::PersonVerificationSpecs | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] verification Object to be assigned

Source