Sha256: 249d3492cfe0ed3301121cdeb45bc632c66475859390f27f280d8540c31fdec3

Contents?: true

Size: 797 Bytes

Versions: 6

Compression:

Stored size: 797 Bytes

Contents

# typed: strict
# frozen_string_literal: true

module DearInventory
  class Parameters
    module Sale
      class Show < DearInventory::Parameters
        extend T::Sig

        fields(
          id: {
            property: :ID,
            type: :String,
            required: true,
          },
          combine_additional_charges: {
            property: :CombineAdditionalCharges,
            type: :Boolean,
            required: false,
          },
          hide_inventory_movements: {
            property: :HideInventoryMovements,
            type: :Boolean,
            required: false,
          },
          include_transactions: {
            property: :IncludeTransactions,
            type: :Boolean,
            required: false,
          }
        )
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
dear_inventory-1.4.0 lib/dear_inventory/parameters/sale/show.rb
dear_inventory-1.3.0 lib/dear_inventory/parameters/sale/show.rb
dear_inventory-1.2.0 lib/dear_inventory/parameters/sale/show.rb
dear_inventory-1.1.1 lib/dear_inventory/parameters/sale/show.rb
dear_inventory-1.1.0 lib/dear_inventory/parameters/sale/show.rb
dear_inventory-1.0.0 lib/dear_inventory/parameters/sale/show.rb