Class AmountAtTime

    • Field Detail

      • amount

        public final double amount
        The actual amount to be exchanged between the contract parties
    • Constructor Detail

      • AmountAtTime

        public AmountAtTime​(de.dlr.gitlab.fame.time.TimeStamp timeStamp,
                            double amount)
        Creates a new AmountAtTime message
        Parameters:
        timeStamp - to which the specified amount is associated with
        amount - value associated with the given timeStamp
      • AmountAtTime

        public AmountAtTime​(de.dlr.gitlab.fame.protobuf.Agent.ProtoDataItem proto)
        Mandatory for deserialisation of DataItems
        Parameters:
        proto - protobuf representation
    • Method Detail

      • fillDataFields

        protected void fillDataFields​(de.dlr.gitlab.fame.protobuf.Agent.ProtoDataItem.Builder builder)
        Overrides:
        fillDataFields in class PointInTime