Sha256: f12c13476ca8a93d9b9d81fad9358b68bd7420aa7fe686aeda8089540b599a54

Contents?: true

Size: 1.25 KB

Versions: 7

Compression:

Stored size: 1.25 KB

Contents

# typed: strong
# frozen_string_literal: true

module DearInventory
  module Models
    module Sales
      class Fulfilments
        class PickPackLine < DearInventory::Model
          extend T::Sig

          fields(
            ProductID: {
              name: :product_id,
              type: :Guid,
            },
            SKU: {
              name: :sku,
              type: :String,
            },
            Name: {
              name: :name,
              type: :String,
            },
            Location: {
              name: :location,
              type: :String,
            },
            LocationID: {
              name: :location_id,
              type: :Guid,
            },
            Quantity: {
              name: :quantity,
              type: :Float,
            },
            BatchSN: {
              name: :batch_sn,
              type: :String,
            },
            ExpiryDate: {
              name: :expiry_date,
              type: :DateTime,
            },
            Box: {
              name: :box,
              type: :String,
            },
            WarrantyRegistrationNumber: {
              name: :warranty_registration_number,
              type: :String,
            }
          )
        end
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
dear_inventory-0.7.5 lib/dear_inventory/models/sales/fulfilments/pick_pack_line.rb
dear_inventory-0.7.4 lib/dear_inventory/models/sales/fulfilments/pick_pack_line.rb
dear_inventory-0.7.3 lib/dear_inventory/models/sales/fulfilments/pick_pack_line.rb
dear_inventory-0.7.2 lib/dear_inventory/models/sales/fulfilments/pick_pack_line.rb
dear_inventory-0.7.1 lib/dear_inventory/models/sales/fulfilments/pick_pack_line.rb
dear_inventory-0.7.0 lib/dear_inventory/models/sales/fulfilments/pick_pack_line.rb
dear_inventory-0.6.3 lib/dear_inventory/models/sales/fulfilments/pick_pack_line.rb