Sha256: 20455c465e85e2da8e63fa2a057bf32871c857106f2de882e9b699e5341ef0c3

Contents?: true

Size: 1.27 KB

Versions: 6

Compression:

Stored size: 1.27 KB

Contents

# typed: strong
# frozen_string_literal: true

module DearInventory
  module Models
    class Sales < DearInventory::Model
      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

6 entries across 6 versions & 1 rubygems

Version Path
dear_inventory-1.4.0 lib/dear_inventory/models/sales/fulfilments/pick_pack_line.rb
dear_inventory-1.3.0 lib/dear_inventory/models/sales/fulfilments/pick_pack_line.rb
dear_inventory-1.2.0 lib/dear_inventory/models/sales/fulfilments/pick_pack_line.rb
dear_inventory-1.1.1 lib/dear_inventory/models/sales/fulfilments/pick_pack_line.rb
dear_inventory-1.1.0 lib/dear_inventory/models/sales/fulfilments/pick_pack_line.rb
dear_inventory-1.0.0 lib/dear_inventory/models/sales/fulfilments/pick_pack_line.rb