class Plaid::IDNumberType
- Plaid::IDNumberType
- Reference
- Object
Included Modules
Defined in:
plaid/models/id_number_type.crConstant Summary
-
ERROR_MESSAGE =
"invalid value for \"IDNumberType\", must be one of [\"ar_dni\", \"au_drivers_license\", \"au_passport\", \"br_cpf\", \"ca_sin\", \"cl_run\", \"cn_resident_card\", \"co_nit\", \"dk_cpr\", \"eg_national_id\", \"es_dni\", \"es_nie\", \"hk_hkid\", \"in_pan\", \"it_cf\", \"jo_civil_id\", \"jp_my_number\", \"ke_huduma_namba\", \"kw_civil_id\", \"mx_curp\", \"mx_rfc\", \"my_nric\", \"ng_nin\", \"nz_drivers_license\", \"om_civil_id\", \"ph_psn\", \"pl_pesel\", \"ro_cnp\", \"sa_national_id\", \"se_pin\", \"sg_nric\", \"tr_tc_kimlik\", \"us_ssn\", \"us_ssn_last_4\", \"za_smart_id\"]."
-
VALID_VALUES =
String.static_array("ar_dni", "au_drivers_license", "au_passport", "br_cpf", "ca_sin", "cl_run", "cn_resident_card", "co_nit", "dk_cpr", "eg_national_id", "es_dni", "es_nie", "hk_hkid", "in_pan", "it_cf", "jo_civil_id", "jp_my_number", "ke_huduma_namba", "kw_civil_id", "mx_curp", "mx_rfc", "my_nric", "ng_nin", "nz_drivers_license", "om_civil_id", "ph_psn", "pl_pesel", "ro_cnp", "sa_national_id", "se_pin", "sg_nric", "tr_tc_kimlik", "us_ssn", "us_ssn_last_4", "za_smart_id")
Constructors
- .from_json(value : JSON::PullParser) : IDNumberType
- .new(pull : JSON::PullParser)
- .new(data : String, strict : Bool = true)
Class Method Summary
Instance Method Summary
-
#==(other : self)
Returns
true
if this reference is the same as other. - #data : String
- #data=(data : String)
- #error_message : String
-
#hash(hasher)
See
Object#hash(hasher)
- #list_invalid_properties : Array(String)
- #to_json(json : JSON::Builder) : Nil
- #to_json_object_key(*args, **options)
- #to_json_object_key(*args, **options, &)
- #valid? : Bool
- #validate : Nil
Instance methods inherited from module OpenApi::Json
after_initialize
after_initialize,
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
Class Method Detail
Instance Method Detail
def ==(other : self)
#
Description copied from class Reference
Returns true
if this reference is the same as other. Invokes same?
.