Method: OpenapiClient::Merchant#==

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

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



122
123
124
125
126
127
128
129
# File 'lib/openapi_client/models/merchant.rb', line 122

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      mcc == o.mcc &&
      merchant_unique_id == o.merchant_unique_id &&
      location == o.location &&
      user_defined == o.user_defined
end