Class RawDataPart


  • public class RawDataPart
    extends Object
    Data of the [`RawInvoice`] that is encoded in the data part
    • Method Detail

      • get_timestamp

        public PositiveTimestamp get_timestamp()
        generation time of the invoice
      • set_timestamp

        public void set_timestamp​(PositiveTimestamp val)
        generation time of the invoice
      • eq

        public boolean eq​(RawDataPart b)
        Checks if two RawDataParts contain equal inner contents. This ignores pointers and is_owned flags and looks at the values in fields. Two objects with NULL inner values will be considered "equal" here.
      • hash

        public long hash()
        Generates a non-cryptographic 64-bit hash of the RawDataPart.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object