Sha256: 759f2b6f3ef396f7f2fad7cafb07c958b16359edba74ae3e1efefc55d143f1fa
Contents?: true
Size: 1.2 KB
Versions: 6
Compression:
Stored size: 1.2 KB
Contents
# typed: strong # frozen_string_literal: true module DearInventory module Models class Purchases < DearInventory::Model class Line < DearInventory::Model extend T::Sig fields( ProductID: { name: :product_id, type: :Guid, }, SKU: { name: :sku, type: :String, }, Name: { name: :name, type: :String, }, Quantity: { name: :quantity, type: :Float, }, Price: { name: :price, type: :BigDecimal, }, Discount: { name: :discount, type: :BigDecimal, }, Tax: { name: :tax, type: :BigDecimal, }, TaxRule: { name: :tax_rule, type: :String, }, SupplierSKU: { name: :supplier_sku, type: :String, }, Comment: { name: :comment, type: :String, }, Total: { name: :total, type: :BigDecimal, } ) end end end end
Version data entries
6 entries across 6 versions & 1 rubygems