class

Plaid::CustomerInitiatedReturnRisk

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

The object contains a risk score and a risk tier that evaluate the transaction return risk of an unauthorized debit. Common return codes in this category include: "R05", "R07", "R10", "R11", "R29". These returns typically have a return time frame of up to 60 calendar days. During this period, the customer of financial institutions can dispute a transaction as unauthorized.

Constants

MAX_FOR_RISK_TIER = Int32.new("5")
MAX_FOR_SCORE = Int32.new("99")
MIN_FOR_RISK_TIER = Int32.new("1")
MIN_FOR_SCORE = Int32.new("1")

Constructors

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

list_invalid_properties

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

Source
risk_tier

A tier corresponding to the projected likelihood that the transaction, if initiated, will be subject to a return. In the customer_initiated_return_risk object, there are five risk tiers corresponding to the scores: 1: Predicted customer-initiated return incidence rate between 0.00% - 0.02% 2: Predicted customer-initiated return incidence rate between 0.02% - 0.05% 3: Predicted customer-initiated return incidence rate between 0.05% - 0.1% 4: Predicted customer-initiated return incidence rate between 0.1% - 0.5% 5: Predicted customer-initiated return incidence rate greater than 0.5%

Source
risk_tier=(new_value : Int32 | Nil)

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

Source
score

A score from 1-99 that indicates the transaction return risk: a higher risk score suggests a higher return likelihood.

Source
score=(new_value : Int32 | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] score 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