Method: Wire4Client::AccountDetail#==

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

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



112
113
114
115
116
117
118
119
120
121
# File 'lib/wire4_client/models/account_detail.rb', line 112

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      address == o.address &&
      business_name == o.business_name &&
      constitution_date == o.constitution_date &&
      emails == o.emails &&
      legal_representatives == o.legal_representatives &&
      rfc == o.rfc
end