Interface OrderSearchCustomType

All Superinterfaces:
JsonEnum
All Known Implementing Classes:
OrderSearchCustomType.OrderSearchCustomTypeEnum

public interface OrderSearchCustomType extends JsonEnum

Possible values for the customType property on simple expressions indicating the data type of the field.

  • Field Details

    • BOOLEAN_TYPE

      static final OrderSearchCustomType BOOLEAN_TYPE

      For CustomFieldBooleanType Custom Fields.

    • STRING_TYPE

      static final OrderSearchCustomType STRING_TYPE

      For CustomFieldStringType Custom Fields.

    • LOCALIZED_STRING_TYPE

      static final OrderSearchCustomType LOCALIZED_STRING_TYPE

      For CustomFieldLocalizedStringType Custom Fields.

    • ENUM_TYPE

      static final OrderSearchCustomType ENUM_TYPE

      For CustomFieldEnumType Custom Fields.

    • LOCALIZED_ENUM_TYPE

      static final OrderSearchCustomType LOCALIZED_ENUM_TYPE

      For CustomFieldLocalizedEnumType Custom Fields.

    • NUMBER_TYPE

      static final OrderSearchCustomType NUMBER_TYPE

      For CustomFieldNumberType Custom Fields.

    • DATE_TYPE

      static final OrderSearchCustomType DATE_TYPE

      For CustomFieldDateType Custom Fields.

    • TIME_TYPE

      static final OrderSearchCustomType TIME_TYPE

      For CustomFieldTimeType Custom Fields.

    • DATE_TIME_TYPE

      static final OrderSearchCustomType DATE_TIME_TYPE

      For CustomFieldDateTimeType Custom Fields.

    • SET_TYPE_STRING_TYPE

      static final OrderSearchCustomType SET_TYPE_STRING_TYPE

      For CustomFieldSetType of StringType Custom Fields.

    • SET_TYPE_LOCALIZED_STRING_TYPE

      static final OrderSearchCustomType SET_TYPE_LOCALIZED_STRING_TYPE

      For CustomFieldSetType of LocalizedStringType Custom Fields.

    • SET_TYPE_ENUM_TYPE

      static final OrderSearchCustomType SET_TYPE_ENUM_TYPE

      For CustomFieldSetType of EnumType Custom Fields.

    • SET_TYPE_LOCALIZED_ENUM_TYPE

      static final OrderSearchCustomType SET_TYPE_LOCALIZED_ENUM_TYPE

      For CustomFieldSetType of LocalizedEnumType Custom Fields.

    • SET_TYPE_NUMBER_TYPE

      static final OrderSearchCustomType SET_TYPE_NUMBER_TYPE

      For CustomFieldSetType of NumberType Custom Fields.

    • SET_TYPE_DATE_TYPE

      static final OrderSearchCustomType SET_TYPE_DATE_TYPE

      For CustomFieldSetType of DateType Custom Fields.

    • SET_TYPE_TIME_TYPE

      static final OrderSearchCustomType SET_TYPE_TIME_TYPE

      For CustomFieldSetType of TimeType Custom Fields.

    • SET_TYPE_DATE_TIME_TYPE

      static final OrderSearchCustomType SET_TYPE_DATE_TIME_TYPE

      For CustomFieldSetType of DateTimeType Custom Fields.

  • Method Details

    • getJsonName

      String getJsonName()
      the JSON value
      Specified by:
      getJsonName in interface JsonEnum
      Returns:
      json value
    • name

      String name()
      the enum value
      Specified by:
      name in interface JsonEnum
      Returns:
      name
    • toString

      String toString()
      convert value to string
      Specified by:
      toString in interface JsonEnum
      Overrides:
      toString in class Object
      Returns:
      string representation
    • findEnum

      static OrderSearchCustomType findEnum(String value)
      factory method for a enum value of OrderSearchCustomType if no enum has been found an anonymous instance will be created
      Parameters:
      value - the enum value to be wrapped
      Returns:
      enum instance
    • findEnumViaJsonName

      static Optional<OrderSearchCustomType> findEnumViaJsonName(String jsonName)
      method to find enum using the JSON value
      Parameters:
      jsonName - the json value to be wrapped
      Returns:
      optional of enum instance
    • values

      static OrderSearchCustomType[] values()
      possible enum values
      Returns:
      array of possible enum values