Sha256: 632bc784d200ae6c45e683a36a7279b6c586069f4c17d85d5978850a00026b96

Contents?: true

Size: 1.07 KB

Versions: 4

Compression:

Stored size: 1.07 KB

Contents

module Eddy
  module Elements
    # ### Element Summary:
    #
    # - Id: 648
    # - Name: Price Multiplier Qualifier
    # - Type: ID
    # - Min/Max: 3/3
    # - Description: Code indicating the type of price multiplier
    class E648 < Eddy::Element::ID

      # @param val [String]
      # @param req [String]
      # @param ref [String]
      # @return [void]
      def initialize(val: nil, req: nil, ref: nil)
        @id = "648"
        @name = "Price Multiplier Qualifier"
        @description = "Code indicating the type of price multiplier"
        super(
          min: 3,
          max: 3,
          req: req,
          ref: ref,
          val: val,
        )
      end

      # @return [Array<String>]
      def code_list()
        return [
          "CSD", # Cost Markup Multiplier - Original Cost
          "CSR", # Cost Markup Multiplier - Retail Cost
          "DIS", # Discount Multiplier
          "ILP", # Cost Markup Multiplier - Wholesale Cost
          "PSP", # Percent Solution Multiplier
          "SEL", # Selling Multiplier
        ]
      end

    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
eddy-0.5.1 lib/definitions/elements/generated/648.price_multiplier_qualifier.rb
eddy-0.5.0 lib/definitions/elements/generated/648.price_multiplier_qualifier.rb
eddy-0.4.0 lib/definitions/elements/generated/648.price_multiplier_qualifier.rb
eddy-0.3.0 lib/definitions/elements/generated/648.price_multiplier_qualifier.rb