Enum Class ServiceMessage.Refund

java.lang.Object
java.lang.Enum<ServiceMessage.Refund>
de.hybris.platform.prosservices.pros.services.ServiceMessage.Refund
All Implemented Interfaces:
Serializable, Comparable<ServiceMessage.Refund>, Constable
Enclosing class:
ServiceMessage

public static enum ServiceMessage.Refund extends Enum<ServiceMessage.Refund>
The enum Refund.
  • Enum Constant Details

    • FREE_IF_SERVICE_IS_CANCELLED

      public static final ServiceMessage.Refund FREE_IF_SERVICE_IS_CANCELLED
      The Free if service is cancelled.
    • FULLY_REFUNDABLE

      public static final ServiceMessage.Refund FULLY_REFUNDABLE
      The Fully refundable.
    • REFUND_WITH_FEE

      public static final ServiceMessage.Refund REFUND_WITH_FEE
      The Refund with fee.
    • NONREFUNDABLE

      public static final ServiceMessage.Refund NONREFUNDABLE
      Nonrefundable refund.
  • Method Details

    • values

      public static ServiceMessage.Refund[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ServiceMessage.Refund valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • toString

      public String toString()
      Overrides:
      toString in class Enum<ServiceMessage.Refund>
    • value

      public String value()
      Value string.
      Returns:
      the string
    • fromValue

      public static ServiceMessage.Refund fromValue(String value)
      From value service message . refund.
      Parameters:
      value - the value
      Returns:
      the service message . refund