Sha256: f99fed3001e6649ac10651801cca3058c194c83522738dc98ee4e9471f2eec53

Contents?: true

Size: 667 Bytes

Versions: 11

Compression:

Stored size: 667 Bytes

Contents

# typed: strong
# frozen_string_literal: true

module DearInventory
  module Models
    module Sales
      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,
          }
        )
      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/sales/manual_journal_line.rb
dear_inventory-0.7.4 lib/dear_inventory/models/sales/manual_journal_line.rb
dear_inventory-0.7.3 lib/dear_inventory/models/sales/manual_journal_line.rb
dear_inventory-0.7.2 lib/dear_inventory/models/sales/manual_journal_line.rb
dear_inventory-0.7.1 lib/dear_inventory/models/sales/manual_journal_line.rb
dear_inventory-0.7.0 lib/dear_inventory/models/sales/manual_journal_line.rb
dear_inventory-0.6.3 lib/dear_inventory/models/sales/manual_journal_line.rb
dear_inventory-0.6.2 lib/dear_inventory/models/sales/manual_journal_line.rb
dear_inventory-0.6.1 lib/dear_inventory/models/sales/manual_journal_line.rb
dear_inventory-0.6.0 lib/dear_inventory/models/sales/manual_journal_line.rb
dear_inventory-0.5.0 lib/dear_inventory/models/sales/manual_journal_line.rb