Sha256: 84767570f1e43a941ab86a8add3127f9fba1eb44efb88c337290947b05ac974d

Contents?: true

Size: 847 Bytes

Versions: 1

Compression:

Stored size: 847 Bytes

Contents

# typed: strong
# frozen_string_literal: true

module DearInventory
  module Models
    class AdditionalCharge < DearInventory::Model
      extend T::Sig

      fields({
        Description: {
          name: :description,
          type: :String,
        },
        Price: {
          name: :price,
          type: :Numeric,
        },
        Quantity: {
          name: :quantity,
          type: :Numeric,
        },
        Discount: {
          name: :discount,
          type: :Numeric,
        },
        Tax: {
          name: :tax,
          type: :Numeric,
        },
        Total: {
          name: :total,
          type: :Numeric,
        },
        TaxRule: {
          name: :tax_rule,
          type: :String,
        },
        Comment: {
          name: :comment,
          type: :String,
        },
      })
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dear_inventory-0.2.0 lib/dear_inventory/models/additional_charge.rb