CargoMessageWithExpiry

data class CargoMessageWithExpiry(val cargoMessageSerialized: ByteArray, val expiryDate: ZonedDateTime)

Serialization and expiry date of a message to be encapsulated in a cargo message set.

Throws

if cargoMessageSerialized is longer than CargoMessage.MAX_LENGTH

Constructors

Link copied to clipboard
constructor(cargoMessageSerialized: ByteArray, expiryDate: ZonedDateTime)

Properties

Link copied to clipboard