Method: TransferZero::PayinMethodDetailsMobile#==

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

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



84
85
86
87
88
89
# File 'lib/transferzero-sdk/models/payin_method_details_mobile.rb', line 84

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      phone_number == o.phone_number &&
      send_instructions == o.send_instructions
end