Method: TransferZero::PaymentMethod#==

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

#==(o) ⇒ Object

Checks equality by comparing each attribute.



119
120
121
122
123
124
125
126
127
128
# File 'lib/transferzero-sdk/models/payment_method.rb', line 119

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      type == o.type &&
      provider == o.provider &&
      otc_permitted == o.otc_permitted &&
      details == o.details &&
      default == o.default &&
      fields == o.fields
end