Class TxnDeliveryFunc


  • public class TxnDeliveryFunc
    extends Object
    Provides a Transaction Delivery Func value object.
    Since:
    17.10.0
    • Field Detail

      • funcService

        public SvcDef funcService
        The delivery function service.
    • Constructor Detail

      • TxnDeliveryFunc

        public TxnDeliveryFunc()
      • TxnDeliveryFunc

        public TxnDeliveryFunc​(SubmissionDeliveryFunc sdf)
        Create a transaction delivery function value object.
        Parameters:
        sdf - the submission delivery function (required)
      • TxnDeliveryFunc

        public TxnDeliveryFunc​(Map fields)
        Create a unit testing TxnDeliveryFunc value object with the given fields.
        Parameters:
        fields - the transaction delivery function entity fields (required)
        Since:
        17.10.0
    • Method Detail

      • toString

        public String toString()
        Overrides:
        toString in class Object
        Returns:
        a string representation of the object.
      • getId

        public Long getId()
        The transaction delivery function id (PK).
      • getFuncService

        public SvcDef getFuncService()
        The delivery function service.
      • getDeliveryAttempts

        public Integer getDeliveryAttempts()
        The number of function delivery attempts performed.
      • getDeliveryStatus

        public String getDeliveryStatus()
        The current delivery status.
      • getMaxAttempts

        public Integer getMaxAttempts()
        The maximum number of delivery attempts.
      • getNextDeliveryTime

        public Date getNextDeliveryTime()
        The minimum time before reattempting delivery function execution.