Sha256: e53fd69a0360da26045d146dedeebf430cac9be08a052dfe623fa131f61462d8

Contents?: true

Size: 1.25 KB

Versions: 3

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: :Numeric,
            },
            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

3 entries across 3 versions & 1 rubygems

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