Method: CyberSource::Ptsv2paymentsOrderInformationAmountDetailsAmexAdditionalAmounts#==

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

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



90
91
92
93
94
95
# File 'lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details_amex_additional_amounts.rb', line 90

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