Method: OpenapiClient::FraudScore#==

Defined in:
lib/openapi_client/models/fraud_score.rb

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



101
102
103
104
105
106
107
108
# File 'lib/openapi_client/models/fraud_score.rb', line 101

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      score == o.score &&
      warnings == o.warnings &&
      explanations == o.explanations &&
      recommended_decision == o.recommended_decision
end