Sha256: 83cf806febd5b3537559f98bbb2cd3c986ca4f34c4460b9b2d37b0b2c7e396f4

Contents?: true

Size: 872 Bytes

Versions: 11

Compression:

Stored size: 872 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: :BigDecimal,
          },
          DatePaid: {
            name: :date_paid,
            type: :DateTime,
          },
          Account: {
            name: :account,
            type: :String,
          },
          CurrencyRate: {
            name: :currency_rate,
            type: :BigDecimal,
          },
          DateCreated: {
            name: :date_created,
            type: :DateTime,
          }
        )
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
dear_inventory-0.7.5 lib/dear_inventory/models/sales/payment_line.rb
dear_inventory-0.7.4 lib/dear_inventory/models/sales/payment_line.rb
dear_inventory-0.7.3 lib/dear_inventory/models/sales/payment_line.rb
dear_inventory-0.7.2 lib/dear_inventory/models/sales/payment_line.rb
dear_inventory-0.7.1 lib/dear_inventory/models/sales/payment_line.rb
dear_inventory-0.7.0 lib/dear_inventory/models/sales/payment_line.rb
dear_inventory-0.6.3 lib/dear_inventory/models/sales/payment_line.rb
dear_inventory-0.6.2 lib/dear_inventory/models/sales/payment_line.rb
dear_inventory-0.6.1 lib/dear_inventory/models/sales/payment_line.rb
dear_inventory-0.6.0 lib/dear_inventory/models/sales/payment_line.rb
dear_inventory-0.5.0 lib/dear_inventory/models/sales/payment_line.rb