class Stripe::PersonTokenSpecs
- Stripe::PersonTokenSpecs
- Reference
- Object
Included Modules
- JSON::Serializable
- JSON::Serializable::Unmapped
- OpenApi::Json
- OpenApi::Validatable
Defined in:
stripe/models/person_token_specs.crConstant Summary
-
MAX_LENGTH_FOR_FIRST_NAME =
5000
-
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 =
5000
-
MAX_LENGTH_FOR_LAST_NAME_KANA =
5000
-
MAX_LENGTH_FOR_LAST_NAME_KANJI =
5000
-
MAX_LENGTH_FOR_MAIDEN_NAME =
5000
-
MAX_LENGTH_FOR_NATIONALITY =
5000
-
MAX_LENGTH_FOR_POLITICAL_EXPOSURE =
5000
Constructors
- .new(pull : JSON::PullParser)
-
.new(*, additional_tos_acceptances : Stripe::PersonAdditionalTosAcceptancesSpecs | Nil = nil, address : Stripe::LegalEntityAndKycAddressSpecs | Nil = nil, address_kana : Stripe::JapanAddressKanaSpecs | Nil = nil, address_kanji : Stripe::JapanAddressKanjiSpecs | Nil = nil, dob : Stripe::PostAccountsAccountPersonsRequestDob | Nil = nil, documents : Stripe::PersonDocumentsSpecs | 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::PostAccountsAccountPersonsRequestFullNameAliases | 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, nationality : String | Nil = nil, phone : String | Nil = nil, political_exposure : String | Nil = nil, registered_address : Stripe::AddressSpecs | Nil = nil, relationship : Stripe::RelationshipSpecs | 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
Instance Method Summary
-
#==(other : self)
Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes.
- #additional_tos_acceptances : Stripe::PersonAdditionalTosAcceptancesSpecs | Nil
-
#additional_tos_acceptances=(new_value : Stripe::PersonAdditionalTosAcceptancesSpecs | Nil)
Custom attribute writer method checking allowed values (enum).
- #address : Stripe::LegalEntityAndKycAddressSpecs | Nil
-
#address=(new_value : Stripe::LegalEntityAndKycAddressSpecs | Nil)
Custom attribute writer method checking allowed values (enum).
- #address_kana : Stripe::JapanAddressKanaSpecs | Nil
-
#address_kana=(new_value : Stripe::JapanAddressKanaSpecs | Nil)
Custom attribute writer method checking allowed values (enum).
- #address_kanji : Stripe::JapanAddressKanjiSpecs | Nil
-
#address_kanji=(new_value : Stripe::JapanAddressKanjiSpecs | Nil)
Custom attribute writer method checking allowed values (enum).
- #dob : Stripe::PostAccountsAccountPersonsRequestDob | Nil
-
#dob=(new_value : Stripe::PostAccountsAccountPersonsRequestDob | Nil)
Custom attribute writer method checking allowed values (enum).
- #documents : Stripe::PersonDocumentsSpecs | Nil
-
#documents=(new_value : Stripe::PersonDocumentsSpecs | Nil)
Custom attribute writer method checking allowed values (enum).
- #email : String | Nil
-
#email=(new_value : String | Nil)
Custom attribute writer method checking allowed values (enum).
- #first_name : String | Nil
-
#first_name=(new_value : String | Nil)
Custom attribute writer method checking allowed values (enum).
- #first_name_kana : String | Nil
-
#first_name_kana=(new_value : String | Nil)
Custom attribute writer method checking allowed values (enum).
- #first_name_kanji : String | Nil
-
#first_name_kanji=(new_value : String | Nil)
Custom attribute writer method checking allowed values (enum).
- #full_name_aliases : Stripe::PostAccountsAccountPersonsRequestFullNameAliases | Nil
-
#full_name_aliases=(new_value : Stripe::PostAccountsAccountPersonsRequestFullNameAliases | Nil)
Custom attribute writer method checking allowed values (enum).
- #gender : String | Nil
-
#gender=(new_value : String | Nil)
Custom attribute writer method checking allowed values (enum).
-
#hash(hasher)
Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes.
- #id_number : String | Nil
-
#id_number=(new_value : String | Nil)
Custom attribute writer method checking allowed values (enum).
- #id_number_secondary : String | Nil
-
#id_number_secondary=(new_value : String | Nil)
Custom attribute writer method checking allowed values (enum).
- #last_name : String | Nil
-
#last_name=(new_value : String | Nil)
Custom attribute writer method checking allowed values (enum).
- #last_name_kana : String | Nil
-
#last_name_kana=(new_value : String | Nil)
Custom attribute writer method checking allowed values (enum).
- #last_name_kanji : String | Nil
-
#last_name_kanji=(new_value : String | Nil)
Custom attribute writer method checking allowed values (enum).
-
#list_invalid_properties : Array(String)
Show invalid properties with the reasons.
- #maiden_name : String | Nil
-
#maiden_name=(new_value : String | Nil)
Custom attribute writer method checking allowed values (enum).
- #metadata : Stripe::PostAccountsRequestMetadata | Nil
-
#metadata=(new_value : Stripe::PostAccountsRequestMetadata | Nil)
Custom attribute writer method checking allowed values (enum).
- #nationality : String | Nil
-
#nationality=(new_value : String | Nil)
Custom attribute writer method checking allowed values (enum).
- #phone : String | Nil
-
#phone=(new_value : String | Nil)
Custom attribute writer method checking allowed values (enum).
- #political_exposure : String | Nil
-
#political_exposure=(new_value : String | Nil)
Custom attribute writer method checking allowed values (enum).
- #registered_address : Stripe::AddressSpecs | Nil
-
#registered_address=(new_value : Stripe::AddressSpecs | Nil)
Custom attribute writer method checking allowed values (enum).
- #relationship : Stripe::RelationshipSpecs | Nil
-
#relationship=(new_value : Stripe::RelationshipSpecs | Nil)
Custom attribute writer method checking allowed values (enum).
- #ssn_last_4 : String | Nil
-
#ssn_last_4=(new_value : String | Nil)
Custom attribute writer method checking allowed values (enum).
-
#valid? : Bool
Check to see if the all the properties in the model are valid @return true if the model is valid
- #verification : Stripe::PersonVerificationSpecs | Nil
-
#verification=(new_value : Stripe::PersonVerificationSpecs | Nil)
Custom attribute writer method checking allowed values (enum).
Instance methods inherited from module OpenApi::Json
after_initialize
after_initialize,
clone
clone,
eql?(o : self)
eql?,
to_hash : Hash(String, JSON::Any)
to_hash,
to_json_any : JSON::Any
to_json_any
Class methods inherited from module OpenApi::Json
build_from_hash(hash : Hash)
build_from_hash,
build_from_json_any(json_any : JSON::Any)
build_from_json_any
Instance methods inherited from module OpenApi::Validatable
list_invalid_properties : Array(String)
list_invalid_properties,
list_invalid_properties_for(key : String) : Array(String)
list_invalid_properties_for,
valid? : Bool
valid?,
validate : Nil
validate
Constructor Detail
Initializes the object @param [Hash] attributes Model attributes in the form of hash
Instance Method Detail
Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes. #hash @return [UInt64] Hash code
Custom attribute writer method checking allowed values (enum). @param [Object] additional_tos_acceptances Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] address Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] address_kana Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] address_kanji Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] dob Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] documents Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] email Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] first_name Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] first_name_kana Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] first_name_kanji Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] full_name_aliases Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] gender Object to be assigned
Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes. #hash @return [UInt64] Hash code
Custom attribute writer method checking allowed values (enum). @param [Object] id_number Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] id_number_secondary Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] last_name Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] last_name_kana Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] last_name_kanji Object to be assigned
Show invalid properties with the reasons. Usually used together with valid? @return Array for valid properties with the reasons
Custom attribute writer method checking allowed values (enum). @param [Object] maiden_name Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] metadata Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] nationality Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] phone Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] political_exposure Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] registered_address Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] relationship Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] ssn_last_4 Object to be assigned
Check to see if the all the properties in the model are valid @return true if the model is valid
Custom attribute writer method checking allowed values (enum). @param [Object] verification Object to be assigned