java.lang.Object
com.broadleafcommerce.order.client.domain.Shipment
All Implemented Interfaces:
Serializable

public class Shipment extends Object implements Serializable
Shipping information for a specific shipment.
See Also:
  • Constructor Details

    • Shipment

      public Shipment()
  • Method Details

    • getTrackingNumber

      public String getTrackingNumber()
      The tracking number for this shipment.
      Returns:
      tracking number for this shipment
    • getTrackingUrl

      public String getTrackingUrl()
      The URL to the tracking page for this shipment.
      Returns:
      URL to the tracking page for this shipment
    • getShipDate

      public Instant getShipDate()
      The date the shipment was shipped.
      Returns:
      date the shipment was shipped
    • getShipperType

      public String getShipperType()
      The shipper responsible for the shipment, for example a carrier.
      Returns:
      shipper type responsible for shipment
    • setTrackingNumber

      public void setTrackingNumber(String trackingNumber)
      The tracking number for this shipment.
      Parameters:
      trackingNumber - tracking number for this shipment
    • setTrackingUrl

      public void setTrackingUrl(String trackingUrl)
      The URL to the tracking page for this shipment.
      Parameters:
      trackingUrl - URL to the tracking page for this shipment
    • setShipDate

      public void setShipDate(Instant shipDate)
      The date the shipment was shipped.
      Parameters:
      shipDate - date the shipment was shipped
    • setShipperType

      public void setShipperType(String shipperType)
      The shipper responsible for the shipment, for example a carrier.
      Parameters:
      shipperType - shipper type responsible for shipment
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object