Method: CyberSource::Ptsv2paymentsidreversalsOrderInformation#==

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

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



78
79
80
81
82
83
# File 'lib/cybersource_rest_client/models/ptsv2paymentsidreversals_order_information.rb', line 78

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      amount_details == o.amount_details &&
      line_items == o.line_items
end