Class TxnDeliveryFunc


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

      • id

        public final Long id
        The transaction delivery function id (PK).
      • funcService

        public SvcDef funcService
        The delivery function service.
      • deliveryAttempts

        public final Integer deliveryAttempts
        The number of function delivery attempts performed.
      • deliveryStatus

        public final String deliveryStatus
        The current delivery status.
      • maxAttempts

        public final Integer maxAttempts
        The maximum number of delivery attempts.
      • nextDeliveryTime

        public final Date nextDeliveryTime
        The minimum time before reattempting delivery function execution.
    • Constructor Detail

      • TxnDeliveryFunc

        public TxnDeliveryFunc​(com.avoka.fc.core.entity.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.