Sha256: e4ebf22437ff75c4799f3cae0a6d6a2f85706523dc4f12b411e41755d3288f9d

Contents?: true

Size: 1.16 KB

Versions: 5

Compression:

Stored size: 1.16 KB

Contents

# typed: strict
# frozen_string_literal: true

module DearInventory
  class Parameters
    module ProductAvailability
      class Index < DearInventory::Parameters
        extend T::Sig

        fields(
          id: {
            property: :ID,
            type: :String,
            required: false,
          },
          page: {
            property: :Page,
            type: :Integer,
            required: false,
          },
          limit: {
            property: :Limit,
            type: :Integer,
            required: false,
          },
          name: {
            property: :Name,
            type: :String,
            required: false,
          },
          sku: {
            property: :Sku,
            type: :String,
            required: false,
          },
          location: {
            property: :Location,
            type: :String,
            required: false,
          },
          batch: {
            property: :Batch,
            type: :String,
            required: false,
          },
          category: {
            property: :Category,
            type: :String,
            required: false,
          }
        )
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
dear_inventory-1.4.0 lib/dear_inventory/parameters/product_availability/index.rb
dear_inventory-1.3.0 lib/dear_inventory/parameters/product_availability/index.rb
dear_inventory-1.2.0 lib/dear_inventory/parameters/product_availability/index.rb
dear_inventory-1.1.1 lib/dear_inventory/parameters/product_availability/index.rb
dear_inventory-1.1.0 lib/dear_inventory/parameters/product_availability/index.rb