Class TxnDeliveryFunc


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

      Fields 
      Modifier and Type Field Description
      java.lang.Integer deliveryAttempts
      The number of function delivery attempts performed.
      java.lang.String deliveryStatus
      The current delivery status.
      SvcDef funcService
      The delivery function service.
      java.lang.Long id
      The transaction delivery function id (PK).
      java.lang.Integer maxAttempts
      The maximum number of delivery attempts.
      java.util.Date nextDeliveryTime
      The minimum time before reattempting delivery function execution.
    • Constructor Summary

      Constructors 
      Constructor Description
      TxnDeliveryFunc​(com.avoka.fc.core.entity.SubmissionDeliveryFunc sdf)
      Create a transaction delivery function value object.
      TxnDeliveryFunc​(java.util.Map fields)
      Create a unit testing TxnDeliveryFunc value object with the given fields.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • id

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

        public SvcDef funcService
        The delivery function service.
      • deliveryAttempts

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

        public final java.lang.String deliveryStatus
        The current delivery status.
      • maxAttempts

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

        public final java.util.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​(java.util.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 java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
        Returns:
        a string representation of the object.