Sha256: b31765d1499f2082a90f2293b21a11f3d4bbfbe26ba7da89a0754088449d8a12

Contents?: true

Size: 866 Bytes

Versions: 3

Compression:

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

3 entries across 3 versions & 1 rubygems

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