Sha256: f00585435b0f6be45ee512d0b11d95e01e7400645703e3b429a6d4d8efd31c0a

Contents?: true

Size: 780 Bytes

Versions: 17

Compression:

Stored size: 780 Bytes

Contents

# typed: strong
# frozen_string_literal: true

module DearInventory
  module Models
    class Transaction < DearInventory::Model
      extend T::Sig

      fields(
        TaskID: {
          name: :task_id,
          type: :Guid,
        },
        TransactionID: {
          name: :transaction_id,
          type: :Guid,
        },
        Debit: {
          name: :debit,
          type: :String,
        },
        Credit: {
          name: :credit,
          type: :String,
        },
        Description: {
          name: :description,
          type: :String,
        },
        Amount: {
          name: :credit,
          type: :BigDecimal,
        },
        EffectiveDate: {
          name: :description,
          type: :DateTime,
        }
      )
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
dear_inventory-1.4.0 lib/dear_inventory/models/transaction.rb
dear_inventory-1.3.0 lib/dear_inventory/models/transaction.rb
dear_inventory-1.2.0 lib/dear_inventory/models/transaction.rb
dear_inventory-1.1.1 lib/dear_inventory/models/transaction.rb
dear_inventory-1.1.0 lib/dear_inventory/models/transaction.rb
dear_inventory-1.0.0 lib/dear_inventory/models/transaction.rb
dear_inventory-0.7.5 lib/dear_inventory/models/transaction.rb
dear_inventory-0.7.4 lib/dear_inventory/models/transaction.rb
dear_inventory-0.7.3 lib/dear_inventory/models/transaction.rb
dear_inventory-0.7.2 lib/dear_inventory/models/transaction.rb
dear_inventory-0.7.1 lib/dear_inventory/models/transaction.rb
dear_inventory-0.7.0 lib/dear_inventory/models/transaction.rb
dear_inventory-0.6.3 lib/dear_inventory/models/transaction.rb
dear_inventory-0.6.2 lib/dear_inventory/models/transaction.rb
dear_inventory-0.6.1 lib/dear_inventory/models/transaction.rb
dear_inventory-0.6.0 lib/dear_inventory/models/transaction.rb
dear_inventory-0.5.0 lib/dear_inventory/models/transaction.rb