Method: Wire4Client::TransactionErrorCode#==

Defined in:
lib/wire4_client/models/transaction_error_code.rb

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



77
78
79
80
81
82
83
# File 'lib/wire4_client/models/transaction_error_code.rb', line 77

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      code == o.code &&
      error == o.error &&
      order_id == o.order_id
end