Method: CyberSource::Ptsv2paymentsMerchantInformationServiceLocation#hash

Defined in:
lib/cybersource_rest_client/models/ptsv2payments_merchant_information_service_location.rb

#hashFixnum

Calculates hash code according to all attributes.

Returns:

  • (Fixnum)

    Hash code



139
140
141
# File 'lib/cybersource_rest_client/models/ptsv2payments_merchant_information_service_location.rb', line 139

def hash
  [locality, country_subdivision_code, country_code, postal_code].hash
end