Class Shipment
java.lang.Object
com.broadleafcommerce.order.client.domain.Shipment
- All Implemented Interfaces:
Serializable
Shipping information for a specific shipment.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
The date the shipment was shipped.The shipper responsible for the shipment, for example a carrier.The tracking number for this shipment.The URL to the tracking page for this shipment.int
hashCode()
void
setShipDate
(Instant shipDate) The date the shipment was shipped.void
setShipperType
(String shipperType) The shipper responsible for the shipment, for example a carrier.void
setTrackingNumber
(String trackingNumber) The tracking number for this shipment.void
setTrackingUrl
(String trackingUrl) The URL to the tracking page for this shipment.toString()
-
Constructor Details
-
Shipment
public Shipment()
-
-
Method Details
-
getTrackingNumber
The tracking number for this shipment.- Returns:
- tracking number for this shipment
-
getTrackingUrl
The URL to the tracking page for this shipment.- Returns:
- URL to the tracking page for this shipment
-
getShipDate
The date the shipment was shipped.- Returns:
- date the shipment was shipped
-
getShipperType
The shipper responsible for the shipment, for example a carrier.- Returns:
- shipper type responsible for shipment
-
setTrackingNumber
The tracking number for this shipment.- Parameters:
trackingNumber
- tracking number for this shipment
-
setTrackingUrl
The URL to the tracking page for this shipment.- Parameters:
trackingUrl
- URL to the tracking page for this shipment
-
setShipDate
The date the shipment was shipped.- Parameters:
shipDate
- date the shipment was shipped
-
setShipperType
The shipper responsible for the shipment, for example a carrier.- Parameters:
shipperType
- shipper type responsible for shipment
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-