Class CustomerInitiatedReturnRisk

java.lang.Object
com.plaid.client.model.CustomerInitiatedReturnRisk

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
           date="2021-10-15T19:47:39.714Z[GMT]")
public class CustomerInitiatedReturnRisk
extends java.lang.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.
  • Field Summary

    Fields 
    Modifier and Type Field Description
    static java.lang.String SERIALIZED_NAME_RISK_TIER  
    static java.lang.String SERIALIZED_NAME_SCORE  
  • Constructor Summary

    Constructors 
    Constructor Description
    CustomerInitiatedReturnRisk()  
  • Method Summary

    Modifier and Type Method Description
    boolean equals​(java.lang.Object o)  
    java.lang.Integer getRiskTier()
    A tier corresponding to the projected likelihood that the transaction, if initiated, will be subject to a return.
    java.lang.Integer getScore()
    A score from 0-99 that indicates the transaction return risk: a higher risk score suggests a higher return likelihood.
    int hashCode()  
    CustomerInitiatedReturnRisk riskTier​(java.lang.Integer riskTier)  
    CustomerInitiatedReturnRisk score​(java.lang.Integer score)  
    void setRiskTier​(java.lang.Integer riskTier)  
    void setScore​(java.lang.Integer score)  
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

  • Constructor Details

  • Method Details

    • score

      public CustomerInitiatedReturnRisk score​(java.lang.Integer score)
    • getScore

      public java.lang.Integer getScore()
      A score from 0-99 that indicates the transaction return risk: a higher risk score suggests a higher return likelihood. minimum: 0 maximum: 100
      Returns:
      score
    • setScore

      public void setScore​(java.lang.Integer score)
    • riskTier

      public CustomerInitiatedReturnRisk riskTier​(java.lang.Integer riskTier)
    • getRiskTier

      public java.lang.Integer getRiskTier()
      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% minimum: 1 maximum: 5
      Returns:
      riskTier
    • setRiskTier

      public void setRiskTier​(java.lang.Integer riskTier)
    • equals

      public boolean equals​(java.lang.Object o)
      Overrides:
      equals in class java.lang.Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class java.lang.Object
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object