Class CommerceShipmentConstants

java.lang.Object
com.liferay.commerce.constants.CommerceShipmentConstants

public class CommerceShipmentConstants extends Object
  • Field Details

    • ALLOWED_ORDER_STATUSES

      public static final int[] ALLOWED_ORDER_STATUSES
    • SHIPMENT_STATUS_DELIVERED

      public static final int SHIPMENT_STATUS_DELIVERED
      See Also:
    • SHIPMENT_STATUS_PROCESSING

      public static final int SHIPMENT_STATUS_PROCESSING
      See Also:
    • SHIPMENT_STATUS_READY_TO_BE_SHIPPED

      public static final int SHIPMENT_STATUS_READY_TO_BE_SHIPPED
      See Also:
    • SHIPMENT_STATUS_SHIPPED

      public static final int SHIPMENT_STATUS_SHIPPED
      See Also:
    • SHIPMENT_STATUSES

      public static final int[] SHIPMENT_STATUSES
  • Constructor Details

    • CommerceShipmentConstants

      public CommerceShipmentConstants()
  • Method Details

    • getShipmentLabelStyle

      public static String getShipmentLabelStyle(int shipmentStatus)
    • getShipmentStatus

      public static Integer getShipmentStatus(String label)
    • getShipmentStatusLabel

      public static String getShipmentStatusLabel(int shipmentStatus)
    • getShipmentTransitionLabel

      public static String getShipmentTransitionLabel(int shipmentStatus)