Package com.avoka.tm.vo
Class TxnDeliveryFunc
- java.lang.Object
-
- com.avoka.tm.vo.TxnDeliveryFunc
-
public class TxnDeliveryFunc extends Object
Provides a Transaction Delivery Func value object.- Since:
- 17.10.0
-
-
Field Summary
Fields Modifier and Type Field Description IntegerdeliveryAttemptsThe number of function delivery attempts performed.StringdeliveryStatusThe current delivery status.SvcDeffuncServiceThe delivery function service.LongidThe transaction delivery function id (PK).IntegermaxAttemptsThe maximum number of delivery attempts.DatenextDeliveryTimeThe 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(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 IntegergetDeliveryAttempts()The number of function delivery attempts performed.StringgetDeliveryStatus()The current delivery status.SvcDefgetFuncService()The delivery function service.LonggetId()The transaction delivery function id (PK).IntegergetMaxAttempts()The maximum number of delivery attempts.DategetNextDeliveryTime()The minimum time before reattempting delivery function execution.StringtoString()
-
-
-
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()
-
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.
-
-