Sha256: 32227c9ac11e39ebeae6952f9de95663be98105f70d95b97c51dedcc1c4e8044

Contents?: true

Size: 764 Bytes

Versions: 11

Compression:

Stored size: 764 Bytes

Contents

# typed: strong
# frozen_string_literal: true

module DearInventory
  module Models
    module Purchases
      class ManualJournalLine < DearInventory::Model
        extend T::Sig

        fields(
          Reference: {
            name: :reference,
            type: :String,
          },
          Amount: {
            name: :amount,
            type: :BigDecimal,
          },
          Date: {
            name: :date,
            type: :Date,
          },
          Debit: {
            name: :debit,
            type: :String,
          },
          Credit: {
            name: :credit,
            type: :String,
          },
          IsSystem: {
            name: :is_system,
            type: :Boolean,
          }
        )
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
dear_inventory-0.7.5 lib/dear_inventory/models/purchases/manual_journal_line.rb
dear_inventory-0.7.4 lib/dear_inventory/models/purchases/manual_journal_line.rb
dear_inventory-0.7.3 lib/dear_inventory/models/purchases/manual_journal_line.rb
dear_inventory-0.7.2 lib/dear_inventory/models/purchases/manual_journal_line.rb
dear_inventory-0.7.1 lib/dear_inventory/models/purchases/manual_journal_line.rb
dear_inventory-0.7.0 lib/dear_inventory/models/purchases/manual_journal_line.rb
dear_inventory-0.6.3 lib/dear_inventory/models/purchases/manual_journal_line.rb
dear_inventory-0.6.2 lib/dear_inventory/models/purchases/manual_journal_line.rb
dear_inventory-0.6.1 lib/dear_inventory/models/purchases/manual_journal_line.rb
dear_inventory-0.6.0 lib/dear_inventory/models/purchases/manual_journal_line.rb
dear_inventory-0.5.0 lib/dear_inventory/models/purchases/manual_journal_line.rb