Package com.shipmentXpress.model
Class Shipment
java.lang.Object
com.shipmentXpress.model.Shipment
The Shipment class represents a shipment with its attributes.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Shipment
public Shipment(String packageNumber, String content, double weight, String senderAddress, String srecipientAddress, Timestamp created_timestamp) Constructs a Shipment object with the specified attributes.- Parameters:
packageNumber- Identification number for the package.content- Description of the shipment content.weight- Weight of the shipment.senderAddress- Address of the sender.srecipientAddress- Address of the recipient.created_timestamp- Timestamp of when the shipment was created.
-