Enum PriceableFieldType

    • Enum Constant Detail

      • BASE_COST

        public static final PriceableFieldType BASE_COST
        Base cost of manufacturing the target provided by the target itself rather than being derived by the pricing service.
      • BASE_PRICE

        public static final PriceableFieldType BASE_PRICE
        Base price to sell the target at provided by the target itself rather than being derived by the pricing service.
      • STANDARD_PRICE

        public static final PriceableFieldType STANDARD_PRICE
        Price from a standard price list
      • SALE_PRICE

        public static final PriceableFieldType SALE_PRICE
        Price from a sale price list
      • CONTRACT_PRICE

        public static final PriceableFieldType CONTRACT_PRICE
        Price from a contract price list
    • Method Detail

      • values

        public static PriceableFieldType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (PriceableFieldType c : PriceableFieldType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static PriceableFieldType valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • field

        public final String field()
      • order

        public final int order()
      • valuesOrdered

        public static List<PriceableFieldType> valuesOrdered()
        Returns an ordered list of all fields, excluding base cost.