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 String
antiFraudCode
The anti fraud code.String
antiFraudResponse
The ant fraud response.String
clientCode
The organization code.Integer
doAmount
The digital order amount.String
doMerchant
The digital order merchant.String
doMerchTxnRef
The digital order merchant txn ref.Date
doTimestamp
The digital order timestamp.String
doVersion
The digital order version.String
drAcqResponseCode
The digital response response code.Integer
drAmount
The digital response amount.Integer
drBatchNo
The digital response batch number.String
drCustomParam1
The digital response custom param 1.String
drCustomParam2
The digital response custom param 2.String
drCustomParam3
The digital response custom param 3.String
drCustomParam4
The digital response custom param 4.String
drCustomParam5
The digital response custom param 5.String
drMerchTxnRef
The digital response merch txn ref.String
drMessage
The digital response message.String
drReceiptNo
The digital response receipt number.Integer
drTaxAmount
The digital response tax amount.Date
drTimestamp
The digital response timestamp.Long
drTransactionNo
The digital response transaction no.String
drTxnResponseCode
The digital response txn response code.String
drTxnResponseMsg
The digital response txn response message.Long
id
The payment log id (PK).Long
orgId
The organization id (PK).String
orgName
The organization name.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 gatewayString
paymentLogKey
The payment log key.String
paymentServiceCode
The payment service code.String
paymentStatus
The payment status.Long
txnId
The transaction id.String
userIpAddress
The user ip address.
-
Constructor Summary
Constructors Constructor Description 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
-
id
public final Long id
The payment log id (PK).
-
antiFraudCode
public final String antiFraudCode
The anti fraud code.
-
antiFraudResponse
public final String antiFraudResponse
The ant fraud response.
-
clientCode
public final String clientCode
The organization code.
-
doAmount
public final Integer doAmount
The digital order amount.
-
doMerchant
public final String doMerchant
The digital order merchant.
-
doMerchTxnRef
public final String doMerchTxnRef
The digital order merchant txn ref.
-
doTimestamp
public final Date doTimestamp
The digital order timestamp.
-
doVersion
public final String doVersion
The digital order version.
-
drAcqResponseCode
public final String drAcqResponseCode
The digital response response code.
-
drAmount
public final Integer drAmount
The digital response amount.
-
drBatchNo
public final Integer drBatchNo
The digital response batch number.
-
drCustomParam1
public final String drCustomParam1
The digital response custom param 1.
-
drCustomParam2
public final String drCustomParam2
The digital response custom param 2.
-
drCustomParam3
public final String drCustomParam3
The digital response custom param 3.
-
drCustomParam4
public final String drCustomParam4
The digital response custom param 4.
-
drCustomParam5
public final String drCustomParam5
The digital response custom param 5.
-
drMerchTxnRef
public final String drMerchTxnRef
The digital response merch txn ref.
-
drMessage
public final String drMessage
The digital response message.
-
drReceiptNo
public final String drReceiptNo
The digital response receipt number.
-
drTaxAmount
public final Integer drTaxAmount
The digital response tax amount.
-
drTimestamp
public final Date drTimestamp
The digital response timestamp.
-
drTransactionNo
public final Long drTransactionNo
The digital response transaction no.
-
drTxnResponseCode
public final String drTxnResponseCode
The digital response txn response code.
-
drTxnResponseMsg
public final String drTxnResponseMsg
The digital response txn response message.
-
orgId
public final Long orgId
The organization id (PK).
-
orgName
public final String orgName
The organization name.
-
paymentServiceCode
public final String paymentServiceCode
The payment service code.
-
paymentLogKey
public final String paymentLogKey
The payment log key.
-
paymentStatus
public final String paymentStatus
The payment status.
-
txnId
public final Long txnId
The transaction id.
-
userIpAddress
public final String userIpAddress
The user ip address.
-
-
Constructor Detail
-
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.
-
-