Method: OpenapiClient::ChinaDomesticPaymentMethod#==

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

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



129
130
131
132
133
134
# File 'lib/openapi_client/models/china_domestic_payment_method.rb', line 129

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