Method: UltracartClient::OrderInternal#==
- Defined in:
- lib/ultracart_api/models/order_internal.rb
#==(o) ⇒ Object
Checks equality by comparing each attribute.
143 144 145 146 147 148 149 150 151 152 |
# File 'lib/ultracart_api/models/order_internal.rb', line 143 def ==(o) return true if self.equal?(o) self.class == o.class && exported_to_accounting == o.exported_to_accounting && merchant_notes == o.merchant_notes && placed_by_user == o.placed_by_user && refund_by_user == o.refund_by_user && sales_rep_code == o.sales_rep_code && transactional_merchant_notes == o.transactional_merchant_notes end |