Sha256: 2065c0b2ce8f061406bd7ad6d6e2f419ab1fe66957c8e2cf9f3923399250d4a7

Contents?: true

Size: 668 Bytes

Versions: 3

Compression:

Stored size: 668 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: :Numeric,
          },
          Date: {
            name: :date,
            type: :DateTime,
          },
          Debit: {
            name: :debit,
            type: :String,
          },
          Credit: {
            name: :credit,
            type: :String,
          }
        )
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
dear_inventory-0.4.1 lib/dear_inventory/models/sales/manual_journal_line.rb
dear_inventory-0.4.0 lib/dear_inventory/models/sales/manual_journal_line.rb
dear_inventory-0.3.0 lib/dear_inventory/models/sales/manual_journal_line.rb