Method: TripletexRubyClient::GoodsReceipt#==

Defined in:
lib/tripletex_ruby_client/models/goods_receipt.rb

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



182
183
184
185
186
187
188
189
190
191
192
193
194
195
# File 'lib/tripletex_ruby_client/models/goods_receipt.rb', line 182

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      id == o.id &&
      version == o.version &&
      changes == o.changes &&
      url == o.url &&
      purchase_order == o.purchase_order &&
      registration_date == o.registration_date &&
      received_by == o.received_by &&
      status == o.status &&
      comment == o.comment &&
      goods_receipt_lines == o.goods_receipt_lines
end