class

Plaid::AddressMatchScore

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

Score found by matching address provided by the API with the address on the account at the financial institution. The score can range from 0 to 100 where 100 is a perfect match and 0 is a no match. If the account contains multiple owners, the maximum match score is filled.

Constructors

new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source
new(*, score : Int32 | Nil = nil, is_postal_code_match : Bool | 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

is_postal_code_match

postal code was provided for both and was a match

Source
is_postal_code_match=(new_value : Bool | Nil)

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

Source
is_postal_code_match_present=(is_postal_code_match_present : Bool)
Source
is_postal_code_match_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
score

Match score for address. 100 is a perfect match, 99-90 is a strong match, 89-70 is a partial match, anything below 70 is considered a weak match. Typically, the match threshold should be set to a score of 70 or higher. If the address is missing from either the API or financial institution, this is null.

Source
score=(new_value : Int32 | Nil)

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

Source
score_present=(score_present : Bool)
Source
score_present?
Source
valid?

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

Source