Method: CyberSource::Ptsv2intentsOrderInformationAmountDetails#hash

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

#hashFixnum

Calculates hash code according to all attributes.

Returns:

  • (Fixnum)

    Hash code



207
208
209
# File 'lib/cybersource_rest_client/models/ptsv2intents_order_information_amount_details.rb', line 207

def hash
  [total_amount, currency, discount_amount, shipping_amount, shipping_discount_amount, tax_amount, insurance_amount, duty_amount].hash
end