Sha256: eca73f5104c311224816d2ef2a407241eb64db3a121b62fd04f3e45d0fe74bd7

Contents?: true

Size: 689 Bytes

Versions: 6

Compression:

Stored size: 689 Bytes

Contents

# typed: strong
# frozen_string_literal: true

module DearInventory
  module Models
    class Sales < DearInventory::Model
      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

6 entries across 6 versions & 1 rubygems

Version Path
dear_inventory-1.4.0 lib/dear_inventory/models/sales/manual_journal_line.rb
dear_inventory-1.3.0 lib/dear_inventory/models/sales/manual_journal_line.rb
dear_inventory-1.2.0 lib/dear_inventory/models/sales/manual_journal_line.rb
dear_inventory-1.1.1 lib/dear_inventory/models/sales/manual_journal_line.rb
dear_inventory-1.1.0 lib/dear_inventory/models/sales/manual_journal_line.rb
dear_inventory-1.0.0 lib/dear_inventory/models/sales/manual_journal_line.rb