Package com.avoka.tm.vo
Class PaymentLog
- java.lang.Object
-
- com.avoka.tm.vo.PaymentLog
-
public class PaymentLog extends Object
Provide a Payment Log value object class.- Since:
- 19.5.0
-
-
Field Summary
Fields Modifier and Type Field Description static String
PAYMENT_CANCELLED
Indicates that the payment was cancelled while in the payment gatewaystatic String
PAYMENT_COMPLETED
Indicates that the payment has been completed successfullystatic String
PAYMENT_ERROR
Indicates that an error has occurred during paymentstatic String
PAYMENT_PENDING
Indicates that the payment is pending a result from the payment gateway
-
Constructor Summary
Constructors Constructor Description PaymentLog()
PaymentLog(com.avoka.fc.core.entity.PaymentLog paymentLog)
Create a PaymentLog value object with the given parameters.PaymentLog(Map fields)
Create a unit testing PaymentLog value object with the given fields.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAntiFraudCode()
The anti fraud code.String
getAntiFraudResponse()
The ant fraud response.String
getClientCode()
The organization code.Integer
getDoAmount()
The digital order amount.String
getDoMerchant()
The digital order merchant.String
getDoMerchTxnRef()
The digital order merchant txn ref.Date
getDoTimestamp()
The digital order timestamp.String
getDoVersion()
The digital order version.String
getDrAcqResponseCode()
The digital response response code.Integer
getDrAmount()
The digital response amount.Integer
getDrBatchNo()
The digital response batch number.String
getDrCustomParam1()
The digital response custom param 1.String
getDrCustomParam2()
The digital response custom param 2.String
getDrCustomParam3()
The digital response custom param 3.String
getDrCustomParam4()
The digital response custom param 4.String
getDrCustomParam5()
The digital response custom param 5.String
getDrMerchTxnRef()
The digital response merch txn ref.String
getDrMessage()
The digital response message.String
getDrReceiptNo()
The digital response receipt number.Integer
getDrTaxAmount()
The digital response tax amount.Date
getDrTimestamp()
The digital response timestamp.Long
getDrTransactionNo()
The digital response transaction no.String
getDrTxnResponseCode()
The digital response txn response code.String
getDrTxnResponseMsg()
The digital response txn response message.Long
getId()
The payment log id (PK).Long
getOrgId()
The organization id (PK).String
getOrgName()
The organization name.String
getPaymentLogKey()
The payment log key.String
getPaymentServiceCode()
The payment service code.String
getPaymentStatus()
The payment status.Long
getTxnId()
The transaction id.String
getUserIpAddress()
The user ip address.String
toString()
-
-
-
Field Detail
-
PAYMENT_COMPLETED
public static final String PAYMENT_COMPLETED
Indicates that the payment has been completed successfully- See Also:
- Constant Field Values
-
PAYMENT_ERROR
public static final String PAYMENT_ERROR
Indicates that an error has occurred during payment- See Also:
- Constant Field Values
-
PAYMENT_CANCELLED
public static final String PAYMENT_CANCELLED
Indicates that the payment was cancelled while in the payment gateway- See Also:
- Constant Field Values
-
PAYMENT_PENDING
public static final String PAYMENT_PENDING
Indicates that the payment is pending a result from the payment gateway- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PaymentLog
public PaymentLog()
-
PaymentLog
public PaymentLog(com.avoka.fc.core.entity.PaymentLog paymentLog)
Create a PaymentLog value object with the given parameters.- Parameters:
paymentLog
-
-
PaymentLog
public PaymentLog(Map fields)
Create a unit testing PaymentLog value object with the given fields.- Parameters:
fields
- the payment log entity fields (required)
-
-
Method Detail
-
toString
public String toString()
-
getId
public Long getId()
The payment log id (PK).
-
getAntiFraudCode
public String getAntiFraudCode()
The anti fraud code.
-
getAntiFraudResponse
public String getAntiFraudResponse()
The ant fraud response.
-
getClientCode
public String getClientCode()
The organization code.
-
getDoAmount
public Integer getDoAmount()
The digital order amount.
-
getDoMerchant
public String getDoMerchant()
The digital order merchant.
-
getDoMerchTxnRef
public String getDoMerchTxnRef()
The digital order merchant txn ref.
-
getDoTimestamp
public Date getDoTimestamp()
The digital order timestamp.
-
getDoVersion
public String getDoVersion()
The digital order version.
-
getDrAcqResponseCode
public String getDrAcqResponseCode()
The digital response response code.
-
getDrAmount
public Integer getDrAmount()
The digital response amount.
-
getDrBatchNo
public Integer getDrBatchNo()
The digital response batch number.
-
getDrCustomParam1
public String getDrCustomParam1()
The digital response custom param 1.
-
getDrCustomParam2
public String getDrCustomParam2()
The digital response custom param 2.
-
getDrCustomParam3
public String getDrCustomParam3()
The digital response custom param 3.
-
getDrCustomParam4
public String getDrCustomParam4()
The digital response custom param 4.
-
getDrCustomParam5
public String getDrCustomParam5()
The digital response custom param 5.
-
getDrMerchTxnRef
public String getDrMerchTxnRef()
The digital response merch txn ref.
-
getDrMessage
public String getDrMessage()
The digital response message.
-
getDrReceiptNo
public String getDrReceiptNo()
The digital response receipt number.
-
getDrTaxAmount
public Integer getDrTaxAmount()
The digital response tax amount.
-
getDrTimestamp
public Date getDrTimestamp()
The digital response timestamp.
-
getDrTransactionNo
public Long getDrTransactionNo()
The digital response transaction no.
-
getDrTxnResponseCode
public String getDrTxnResponseCode()
The digital response txn response code.
-
getDrTxnResponseMsg
public String getDrTxnResponseMsg()
The digital response txn response message.
-
getOrgId
public Long getOrgId()
The organization id (PK).
-
getOrgName
public String getOrgName()
The organization name.
-
getPaymentServiceCode
public String getPaymentServiceCode()
The payment service code.
-
getPaymentLogKey
public String getPaymentLogKey()
The payment log key.
-
getPaymentStatus
public String getPaymentStatus()
The payment status.
-
getTxnId
public Long getTxnId()
The transaction id.
-
getUserIpAddress
public String getUserIpAddress()
The user ip address.
-
-