Enum ReasonComment

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<ReasonComment>

    public enum ReasonComment
    extends java.lang.Enum<ReasonComment>
    Reason for cancelling or rescheduling a self-ship appointment.
    • Enum Constant Detail

      • APPOINTMENT_REQUESTED_BY_MISTAKE

        @SerializedName("APPOINTMENT_REQUESTED_BY_MISTAKE")
        public static final ReasonComment APPOINTMENT_REQUESTED_BY_MISTAKE
      • VEHICLE_DELAY

        @SerializedName("VEHICLE_DELAY")
        public static final ReasonComment VEHICLE_DELAY
      • SLOT_NOT_SUITABLE

        @SerializedName("SLOT_NOT_SUITABLE")
        public static final ReasonComment SLOT_NOT_SUITABLE
      • OUTSIDE_CARRIER_BUSINESS_HOURS

        @SerializedName("OUTSIDE_CARRIER_BUSINESS_HOURS")
        public static final ReasonComment OUTSIDE_CARRIER_BUSINESS_HOURS
      • UNFAVOURABLE_EXTERNAL_CONDITIONS

        @SerializedName("UNFAVOURABLE_EXTERNAL_CONDITIONS")
        public static final ReasonComment UNFAVOURABLE_EXTERNAL_CONDITIONS
      • PROCUREMENT_DELAY

        @SerializedName("PROCUREMENT_DELAY")
        public static final ReasonComment PROCUREMENT_DELAY
      • SHIPPING_PLAN_CHANGED

        @SerializedName("SHIPPING_PLAN_CHANGED")
        public static final ReasonComment SHIPPING_PLAN_CHANGED
      • INCREASED_QUANTITY

        @SerializedName("INCREASED_QUANTITY")
        public static final ReasonComment INCREASED_QUANTITY
      • OTHER

        @SerializedName("OTHER")
        public static final ReasonComment OTHER
    • Method Detail

      • values

        public static ReasonComment[] 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 (ReasonComment c : ReasonComment.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ReasonComment valueOf​(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • getValue

        public java.lang.String getValue()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Enum<ReasonComment>
      • fromValue

        public static ReasonComment fromValue​(java.lang.String input)