10 #ifndef AobrdShipment_H 11 #define AobrdShipment_H void setServerEndTime(const time_type &aTimestamp)
Set the Server End Time for this item.
void setDocNumber(const std::string &aDocNumber)
Set the Document Number for this item.
void setServerTimestamp(const time_type &aTimestamp)
Set the Server Timestamp for this item.
std::string mCommodity
The commodity, UTF8 encoded.
Data structure to holds an AOBRD shipment info. Used by the FmiApplicationLayer to provision shipment...
time_type getServerTimestamp() const
Get item's server timestamp.
void setCommodity(const std::string &aCommodity)
Set the Commodity for this item.
time_type mServerStartTime
The server start time.
time_type mServerTimestamp
The server timestamp.
time_type mServerEndTime
The server end time.
std::string mShipperName
The shipper name, UTF8 encoded.
void writeToStream(std::ofstream &aStream) const
Write a AobrdShipment to an output stream.
time_type getServerStartTime() const
Get item's server start time.
std::string mDocNumber
The document number, UTF8 encoded.
virtual ~AobrdShipment()
Destructor.
CString getShipperName() const
Get item's shipper name.
void setServerStartTime(const time_type &aTimestamp)
Set the Server Start Time for this item.
CString getCommodity() const
Get item's commodity.
AobrdShipment()
Constructor.
void setShipperName(const std::string &aShipperName)
Set the Shipper Name for this item.
time_type getServerEndTime() const
Get item's server end time.
uint32 time_type
Absolute time (number of seconds since 12/31/1989 12:00 am UTC)
void readFromStream(std::istream &aStream)
Read a AobrdShipment from an input stream.
CString getDocNumber() const
Get item's document number.