Method: OpenapiClient::ChinaDomesticPaymentMethodAllOf#==

Defined in:
lib/openapi_client/models/china_domestic_payment_method_all_of.rb

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



120
121
122
123
124
125
# File 'lib/openapi_client/models/china_domestic_payment_method_all_of.rb', line 120

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      china_domestic == o.china_domestic &&
      brand == o.brand
end