Class: Invoicexpress::Models::PurchaseOrder
- Inherits:
-
CorePurchaseOrder
- Object
- BaseModel
- CorePurchaseOrder
- Invoicexpress::Models::PurchaseOrder
- Includes:
- BasePurchaseOrder
- Defined in:
- lib/invoicexpress/models/purchase_order.rb
Instance Method Summary collapse
Methods included from BasePurchaseOrder
Methods inherited from BaseModel
Constructor Details
This class inherits a constructor from Invoicexpress::Models::BaseModel
Instance Method Details
#to_core_purchase_order ⇒ Object
51 52 53 54 55 56 57 58 59 60 61 62 63 |
# File 'lib/invoicexpress/models/purchase_order.rb', line 51 def to_core_purchase_order() Invoicexpress::Models::CorePurchaseOrder.new( :id=>self.id, :date=>self.date, :due_date=>self.due_date, :loaded_at=>self.loaded_at, :observations=>self.observations, :delivery_site=>self.delivery_site, :supplier=>self.supplier, :client=>self.client, :items=>self.items ) end |