Sha256: 3a3d5ef0a35285880f54b00dbe83e271d5aff18b53c54b86c85c0962f42622f1
Contents?: true
Size: 975 Bytes
Versions: 6
Compression:
Stored size: 975 Bytes
Contents
# typed: strong # frozen_string_literal: true module DearInventory module Models class Sales < 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, }, Comment: { name: :comment, type: :String, } ) end end end end
Version data entries
6 entries across 6 versions & 1 rubygems