Method: OpenapiClient::UpdatePaymentToken#==

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

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



110
111
112
113
114
115
116
117
# File 'lib/openapi_client/models/update_payment_token.rb', line 110

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      value == o.value &&
      reusable == o.reusable &&
      decline_duplicates == o.decline_duplicates &&
      payment_card == o.payment_card
end