class

Plaid::TaxpayerID

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

Taxpayer ID of the individual receiving the paystub.

Constants

MAX_LENGTH_FOR_LAST_4_DIGITS = 4
MIN_LENGTH_FOR_LAST_4_DIGITS = 4

Constructors

new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source
new(*, id_type : String | Nil = nil, id_mask : String | Nil = nil, last_4_digits : String | 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

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_mask

ID mask; i.e. last 4 digits of the taxpayer ID

Source
id_mask=(new_value : String | Nil)

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

Source
id_mask_present=(id_mask_present : Bool)
Source
id_mask_present?
Source
id_type

Type of ID, e.g. 'SSN'

Source
id_type=(new_value : String | Nil)

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

Source
id_type_present=(id_type_present : Bool)
Source
id_type_present?
Source
last_4_digits

Last 4 digits of unique number of ID.

Source
last_4_digits=(new_value : String | Nil)

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

Source
last_4_digits_present=(last_4_digits_present : Bool)
Source
last_4_digits_present?
Source
list_invalid_properties

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

Source
valid?

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

Source