Method: TransferZero::AccountValidationRequest#==

Defined in:
lib/transferzero-sdk/models/account_validation_request.rb

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



187
188
189
190
191
192
193
194
195
196
# File 'lib/transferzero-sdk/models/account_validation_request.rb', line 187

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
       == o. &&
      bank_code == o.bank_code &&
      phone_number == o.phone_number &&
      country == o.country &&
      currency == o.currency &&
      method == o.method
end