Class ShippingOrderVO

java.lang.Object
org.springframework.hateoas.RepresentationModel<ShippingOrderVO>
org.ameba.http.AbstractBase<ShippingOrderVO>
org.openwms.wms.shipping.api.ShippingOrderVO
All Implemented Interfaces:
Serializable

public class ShippingOrderVO extends org.ameba.http.AbstractBase<ShippingOrderVO> implements Serializable
A ShippingOrderVO is the envelope that represents a customer order and stores some general information along the order positions.
Author:
Heiko Scherrer
See Also:
  • Field Details

    • pKey

      private String pKey
      The persistent identifier.
    • orderId

      @NotEmpty(message="{owms.wms.shp.orderId}", groups=Create.class) private @NotEmpty(message="{owms.wms.shp.orderId}",groups=Create.class) String orderId
      The unique order ID.
    • customerNo

      private String customerNo
      A customer number.
    • orderState

      private String orderState
    • startMode

      private String startMode
      How the ShippingOrder should be processed:
      • MANUAL: Manual processing means just creation no further processing
      • AUTOMATIC: Orders are created and processed directly
    • shippingType

      private String shippingType
      Some arbitrary shipping type, like DHL, FedEx etc.
    • shipTo

      private String shipTo
      An intermediate or final target destination for the ShippingOrder that is used in the allocation strategy.
    • priority

      private Integer priority
      A priority for processing order.
    • latestDueDate

      private ZonedDateTime latestDueDate
      Timestamp until when the order needs to be processed (time of shipping can be different).
    • startDate

      private ZonedDateTime startDate
      Timestamp when the Order should be started earliest.
    • positions

      @Size(min=1, message="{owms.wms.shp.positions}", groups=Create.class) private @Size(min=1,message="{owms.wms.shp.positions}",groups=Create.class) List<@Valid ShippingOrderPositionVO> positions
      A list of positions.
    • details

      private Map<String,String> details
      Arbitrary detail information stored along an order.
  • Constructor Details

    • ShippingOrderVO

      private ShippingOrderVO()
    • ShippingOrderVO

      public ShippingOrderVO(String orderId)
  • Method Details

    • getpKey

      public String getpKey()
    • hasPKey

      public boolean hasPKey()
    • setpKey

      public void setpKey(String pKey)
    • getOrderId

      public String getOrderId()
    • hasOrderId

      public boolean hasOrderId()
    • getCustomerNo

      public String getCustomerNo()
    • setCustomerNo

      public void setCustomerNo(String customerNo)
    • getOrderState

      public String getOrderState()
    • hasOrderState

      public boolean hasOrderState()
    • setOrderState

      public void setOrderState(String orderState)
    • getStartMode

      public String getStartMode()
    • getShippingType

      public String getShippingType()
    • setShippingType

      public void setShippingType(String shippingType)
    • getPriority

      public Integer getPriority()
    • hasPriority

      public boolean hasPriority()
    • getLatestDueDate

      public ZonedDateTime getLatestDueDate()
    • setStartMode

      public void setStartMode(String startMode)
    • setPriority

      public void setPriority(Integer priority)
    • setLatestDueDate

      public void setLatestDueDate(ZonedDateTime latestDueDate)
    • setStartDate

      public void setStartDate(ZonedDateTime startDate)
    • setOrderId

      public void setOrderId(String orderId)
    • getShipTo

      public String getShipTo()
    • setShipTo

      public void setShipTo(String shipTo)
    • getStartDate

      public ZonedDateTime getStartDate()
    • getPositions

      public List<ShippingOrderPositionVO> getPositions()
    • setPositions

      public void setPositions(List<ShippingOrderPositionVO> positions)
    • getDetails

      public Map<String,String> getDetails()
    • setDetails

      public void setDetails(Map<String,String> details)
    • hasStartMode

      public boolean hasStartMode()
    • hasLatestDueDate

      public boolean hasLatestDueDate()
    • hasStartDate

      public boolean hasStartDate()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class org.springframework.hateoas.RepresentationModel<ShippingOrderVO>
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class org.springframework.hateoas.RepresentationModel<ShippingOrderVO>
    • toString

      public String toString()
      Overrides:
      toString in class org.springframework.hateoas.RepresentationModel<ShippingOrderVO>