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