Sha256: 5ea35797d644b019e9bdcb492a494e4f73a3e5443d7d0471f9640182f438d29d

Contents?: true

Size: 869 Bytes

Versions: 1

Compression:

Stored size: 869 Bytes

Contents

# typed: strong
# frozen_string_literal: true

module DearInventory
  module Models
    module Sales
      class PaymentLine < DearInventory::Model
        extend T::Sig

        fields({
          ID: {
            name: :id,
            type: :Guid,
          },
          Reference: {
            name: :reference,
            type: :String,
          },
          Amount: {
            name: :amount,
            type: :Numeric,
          },
          DatePaid: {
            name: :date_paid,
            type: :DateTime,
          },
          Account: {
            name: :account,
            type: :String,
          },
          CurrencyRate: {
            name: :currency_rate,
            type: :Numeric,
          },
          DateCreated: {
            name: :date_created,
            type: :DateTime,
          },
        })
      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/payment_line.rb