Sha256: d6650e7e91864cf08be37458d28bbbe68419f1ac5f0d7a80f0b9870372085ce5
Contents?: true
Size: 1.14 KB
Versions: 6
Compression:
Stored size: 1.14 KB
Contents
# typed: strong # frozen_string_literal: true module DearInventory module Models class Sales < DearInventory::Model class Quote < DearInventory::Model extend T::Sig fields( Memo: { name: :memo, type: :String, }, Status: { name: :status, type: :String, }, Prepayments: { name: :prepayments, type: :Array, model: DearInventory::Models::Sales::PaymentLine, }, 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