Class: Agris::Api::NewVoucher::InventoryItemDetail
- Inherits:
-
Object
- Object
- Agris::Api::NewVoucher::InventoryItemDetail
- Includes:
- XmlModel
- Defined in:
- lib/agris/api/new_voucher.rb
Constant Summary collapse
- ATTRIBUTE_NAMES =
%w( cost_uom detail_type direct_cost exec_id_number item_loc item_no other_ref order_location order_number quantity quantity_uom record_type unit_cost ).freeze
Instance Method Summary collapse
-
#initialize(orders, hash = {}) ⇒ InventoryItemDetail
constructor
A new instance of InventoryItemDetail.
Methods included from XmlModel
Constructor Details
#initialize(orders, hash = {}) ⇒ InventoryItemDetail
Returns a new instance of InventoryItemDetail.
103 104 105 106 107 108 109 |
# File 'lib/agris/api/new_voucher.rb', line 103 def initialize(orders, hash = {}) super(hash) @detail_type = 'I' @orders = orders @record_type = 'ACPV1' end |