Method: OpenapiClient::AliPayPaymentMethod#==

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

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



82
83
84
85
86
# File 'lib/openapi_client/models/ali_pay_payment_method.rb', line 82

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