Sha256: 15cb41a34cdb329df610cdef7f2f941300256f1994ccd1ae5cb4b10dd0925785
Contents?: true
Size: 1.09 KB
Versions: 6
Compression:
Stored size: 1.09 KB
Contents
# typed: strong # frozen_string_literal: true module DearInventory module Models class Sales < DearInventory::Model 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::Sales::AdditionalCharge, }, TotalBeforeTax: { name: :total_before_tax, type: :BigDecimal, }, Tax: { name: :tax, type: :BigDecimal, }, Total: { name: :total, type: :BigDecimal, } ) end end end end
Version data entries
6 entries across 6 versions & 1 rubygems