Class ShopUserMailDispatchLO

  • All Implemented Interfaces:
    bakery.logic.valueobject.OrderLogicObject, java.io.Serializable

    public class ShopUserMailDispatchLO
    extends ShopUserMailLO
    Extended ShopUserMailLO that covers information about a dispatch. It will be used for final e-mail creation.
    See Also:
    Serialized Form
    • Constructor Detail

      • ShopUserMailDispatchLO

        public ShopUserMailDispatchLO()
    • Method Detail

      • getDispatchDate

        public java.sql.Timestamp getDispatchDate()
        Returns:
        the dispatch date
      • setDispatchDate

        public void setDispatchDate​(java.sql.Timestamp dispatchDate)
        Parameters:
        dispatchDate - the dispatch date to set
      • getDeliveryNoteNo

        public java.lang.String getDeliveryNoteNo()
        Returns:
        the delivery note number
      • setDeliveryNoteNo

        public void setDeliveryNoteNo​(java.lang.String deliveryNoteNo)
        Parameters:
        deliveryNoteNo - the delivery note number to set
      • getShopCarrierName

        public java.lang.String getShopCarrierName()
        Returns:
        the name of the carrier
      • setShopCarrierName

        public void setShopCarrierName​(java.lang.String shopCarrierName)
        Parameters:
        shopCarrierName - the name of the carrier to set
      • getCarrierId

        public java.lang.Long getCarrierId()
        Returns:
        the internal carrier Id
      • setCarrierId

        public void setCarrierId​(java.lang.Long carrierId)
        Parameters:
        carrierId - the internal carrier Id to set
      • getUnknownCarrierId

        public java.lang.Long getUnknownCarrierId()
        Returns:
        the internal Id for UNKNOWN_CARRIER
      • setUnknownCarrierId

        public void setUnknownCarrierId​(java.lang.Long unknownCarrierId)
        Parameters:
        unknownCarrierId - the internal Id for UNKNOWN_CARRIER to set
      • getImmaterialCarrierId

        public java.lang.Long getImmaterialCarrierId()
        Returns:
        the internal Id for carrier IMMATERIAL
      • setImmaterialCarrierId

        public void setImmaterialCarrierId​(java.lang.Long immaterialCarrierId)
        Parameters:
        immaterialCarrierId - the internal Id for carrier IMMATERIAL to set
      • getTrackingNo

        public java.lang.String getTrackingNo()
        Returns:
        the tracking number of the delivery package
      • setTrackingNo

        public void setTrackingNo​(java.lang.String trackingNo)
        Parameters:
        trackingNo - the tracking number of the delivery package to set
      • getTrackingUrl

        public java.lang.String getTrackingUrl()
        Returns:
        the tracking-url for the delivery package
      • setTrackingUrl

        public void setTrackingUrl​(java.lang.String trackingUrl)
        Parameters:
        trackingUrl - the tracking-url for the delivery package
      • getPackages

        public int getPackages()
        Returns:
        the number of packages
      • setPackages

        public void setPackages​(int packages)
        Parameters:
        packages - the number of packages
      • getReturnAddressLO

        public AddressLO getReturnAddressLO()
        Returns:
        the address the delivered items can be returned to
      • setReturnAddressLO

        public void setReturnAddressLO​(AddressLO returnAddressLO)
        Parameters:
        returnAddressLO - the address the delivered items can be returned to to set
      • setPositions

        public void setPositions​(java.util.List<ShopUserMailDispatchPosLO> positions)
        Parameters:
        positions - the positions of the dispatch to set
      • getDispatchProperties

        public java.util.Map<java.lang.String,​java.util.Map<java.lang.String,​java.lang.String>> getDispatchProperties()
        Returns:
        all DispatchProperty groups/values in a nested map
      • setDispatchProperties

        public void setDispatchProperties​(java.util.Map<java.lang.String,​java.util.Map<java.lang.String,​java.lang.String>> dispatchProperties)
        Parameters:
        dispatchProperties - DispatchProperty groups/values to set
      • getDispatchPropertyValue

        public java.lang.String getDispatchPropertyValue​(java.lang.String group,
                                                         java.lang.String key)
        Returns:
        the property value for a given group and key.