Method: IntegrationApi::BaasTransactionsVO#==

Defined in:
lib/integration_api/models/baas_transactions_vo.rb

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



97
98
99
100
101
102
103
104
105
# File 'lib/integration_api/models/baas_transactions_vo.rb', line 97

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      message == o.message &&
      nucleus_portfolio_id == o.nucleus_portfolio_id &&
      nucleus_transactions_posted == o.nucleus_transactions_posted &&
      nucleus_transactions_updated == o.nucleus_transactions_updated &&
      vendor_name == o.vendor_name
end