Class CancelDecision

java.lang.Object
de.hybris.platform.ordercancel.CancelDecision
All Implemented Interfaces:
Serializable

public class CancelDecision extends Object implements Serializable
Represents cancel decision that provides information if cancel is allowed by the Order Cancel Service. If cancel is denied, a list of denial reasons is provided.
See Also:
  • Constructor Details

    • CancelDecision

      public CancelDecision(boolean allowed, List<OrderCancelDenialReason> denialReasons)
      Parameters:
      allowed -
      denialReasons -
  • Method Details

    • isAllowed

      public boolean isAllowed()
      Returns:
      the allowed
    • getDenialReasons

      public List<OrderCancelDenialReason> getDenialReasons()
      Returns:
      the denialReasons