Sha256: e1caa9638117e12b58881127a91471cd2a42e1b5be0c749cc5a5a1796a494a10
Contents?: true
Size: 1.05 KB
Versions: 3
Compression:
Stored size: 1.05 KB
Contents
# typed: strong # frozen_string_literal: true module DearInventory module Models module Sales class Order < DearInventory::Model extend T::Sig fields( SaleOrderNumber: { name: :sale_order_number, type: :String, }, Memo: { name: :memo, type: :String, }, Status: { name: :status, type: :String, }, Lines: { name: :lines, type: :Array, model: DearInventory::Models::Sales::Line, }, AdditionalCharges: { name: :additional_charges, type: :Array, model: DearInventory::Models::AdditionalCharge, }, TotalBeforeTax: { name: :total_before_tax, type: :Numeric, }, Tax: { name: :tax, type: :Numeric, }, Total: { name: :total, type: :Numeric, } ) end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
dear_inventory-0.4.1 | lib/dear_inventory/models/sales/order.rb |
dear_inventory-0.4.0 | lib/dear_inventory/models/sales/order.rb |
dear_inventory-0.3.0 | lib/dear_inventory/models/sales/order.rb |