Method: CyberSource::TokenizeResult#==

Defined in:
lib/cyberSource_client/models/tokenize_result.rb

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



126
127
128
129
130
131
132
133
134
135
136
137
# File 'lib/cyberSource_client/models/tokenize_result.rb', line 126

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      key_id == o.key_id &&
      token == o.token &&
      masked_pan == o.masked_pan &&
      card_type == o.card_type &&
      timestamp == o.timestamp &&
      signed_fields == o.signed_fields &&
      signature == o.signature &&
      discoverable_services == o.discoverable_services
end