Sha256: 8f78d2279fbc00dbf946f1422611530ee7f0abd12d0d0f9c6b65ef7dc6bf57f5
Contents?: true
Size: 890 Bytes
Versions: 6
Compression:
Stored size: 890 Bytes
Contents
# typed: strong # frozen_string_literal: true module DearInventory module Models class Purchases < DearInventory::Model class AdditionalCharge < DearInventory::Model extend T::Sig fields( Description: { name: :description, type: :String, }, Price: { name: :price, type: :BigDecimal, }, Quantity: { name: :quantity, type: :Float, }, Discount: { name: :discount, type: :BigDecimal, }, Tax: { name: :tax, type: :BigDecimal, }, Total: { name: :total, type: :BigDecimal, }, TaxRule: { name: :tax_rule, type: :String, } ) end end end end
Version data entries
6 entries across 6 versions & 1 rubygems