Sha256: 2f695a1d8de641c39be6821263a1881e1adafee989534a79c10f31d843818a35

Contents?: true

Size: 671 Bytes

Versions: 1

Compression:

Stored size: 671 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

1 entries across 1 versions & 1 rubygems

Version Path
dear_inventory-0.2.0 lib/dear_inventory/models/sales/manual_journal_line.rb