Package com.avoka.fc.core.entity
Class PaymentLog
- java.lang.Object
-
- org.apache.cayenne.PersistentObject
-
- org.apache.cayenne.CayenneDataObject
-
- com.avoka.core.entity.BaseEntity
-
- com.avoka.fc.core.entity.auto._PaymentLog
-
- com.avoka.fc.core.entity.PaymentLog
-
- All Implemented Interfaces:
IEntity
,Serializable
,org.apache.cayenne.DataObject
,org.apache.cayenne.Persistent
,org.apache.cayenne.Validating
public class PaymentLog extends _PaymentLog
Provides a record for a payment made using the SmartForm Manager payment module.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
STATUS_Cancelled
Indicates that the payment was cancelled while in the payment gatewaystatic String
STATUS_Completed
Indicates that the payment has been completed successfullystatic String
STATUS_Error
Indicates that an error has occurred during paymentstatic String
STATUS_Pending
Indicates that the payment is pending a result from the payment gateway-
Fields inherited from class com.avoka.fc.core.entity.auto._PaymentLog
ANTI_FRAUD_CODE, ANTI_FRAUD_CODE_PROPERTY, ANTI_FRAUD_RESPONSE, ANTI_FRAUD_RESPONSE_PROPERTY, DO_AMOUNT, DO_AMOUNT_PROPERTY, DO_MERCH_TXN_REF, DO_MERCH_TXN_REF_PROPERTY, DO_MERCHANT, DO_MERCHANT_PROPERTY, DO_TIMESTAMP, DO_TIMESTAMP_PROPERTY, DO_VERSION, DO_VERSION_PROPERTY, DR_ACQ_RESPONSE_CODE, DR_ACQ_RESPONSE_CODE_PROPERTY, DR_AMOUNT, DR_AMOUNT_PROPERTY, DR_BATCH_NO, DR_BATCH_NO_PROPERTY, DR_CUSTOM_PARAM1, DR_CUSTOM_PARAM1_PROPERTY, DR_CUSTOM_PARAM2, DR_CUSTOM_PARAM2_PROPERTY, DR_CUSTOM_PARAM3, DR_CUSTOM_PARAM3_PROPERTY, DR_CUSTOM_PARAM4, DR_CUSTOM_PARAM4_PROPERTY, DR_CUSTOM_PARAM5, DR_CUSTOM_PARAM5_PROPERTY, DR_MERCH_TXN_REF, DR_MERCH_TXN_REF_PROPERTY, DR_MESSAGE, DR_MESSAGE_PROPERTY, DR_RECEIPT_NO, DR_RECEIPT_NO_PROPERTY, DR_TAX_AMOUNT, DR_TAX_AMOUNT_PROPERTY, DR_TIMESTAMP, DR_TIMESTAMP_PROPERTY, DR_TRANSACTION_NO, DR_TRANSACTION_NO_PROPERTY, DR_TXN_RESPONSE_CODE, DR_TXN_RESPONSE_CODE_PROPERTY, DR_TXN_RESPONSE_MSG, DR_TXN_RESPONSE_MSG_PROPERTY, PAYMENT_LOG_KEY, PAYMENT_LOG_KEY_PROPERTY, PAYMENT_OID_PK_COLUMN, PAYMENT_SERVICE_CODE, PAYMENT_SERVICE_CODE_PROPERTY, PAYMENT_STATUS, PAYMENT_STATUS_PROPERTY, SUBMISSION, SUBMISSION_PROPERTY, USER_IP_ADDRESS, USER_IP_ADDRESS_PROPERTY
-
Fields inherited from class com.avoka.core.entity.BaseEntity
ID_PROPERTY
-
-
Constructor Summary
Constructors Constructor Description PaymentLog()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isPaymentCancelled()
Return whether payment has been cancelledboolean
isPaymentCompleted()
Return whether payment has been completedboolean
isPaymentInError()
Return whether payment is in a error statusboolean
isPaymentPending()
Return whether payment has been pending-
Methods inherited from class com.avoka.fc.core.entity.auto._PaymentLog
getAntiFraudCode, getAntiFraudResponse, getDoAmount, getDoMerchant, getDoMerchTxnRef, getDoTimestamp, getDoVersion, getDrAcqResponseCode, getDrAmount, getDrBatchNo, getDrCustomParam1, getDrCustomParam2, getDrCustomParam3, getDrCustomParam4, getDrCustomParam5, getDrMerchTxnRef, getDrMessage, getDrReceiptNo, getDrTaxAmount, getDrTimestamp, getDrTransactionNo, getDrTxnResponseCode, getDrTxnResponseMsg, getPaymentLogKey, getPaymentServiceCode, getPaymentStatus, getSubmission, getUserIpAddress, setAntiFraudCode, setAntiFraudResponse, setDoAmount, setDoMerchant, setDoMerchTxnRef, setDoTimestamp, setDoVersion, setDrAcqResponseCode, setDrAmount, setDrBatchNo, setDrCustomParam1, setDrCustomParam2, setDrCustomParam3, setDrCustomParam4, setDrCustomParam5, setDrMerchTxnRef, setDrMessage, setDrReceiptNo, setDrTaxAmount, setDrTimestamp, setDrTransactionNo, setDrTxnResponseCode, setDrTxnResponseMsg, setPaymentLogKey, setPaymentServiceCode, setPaymentStatus, setSubmission, setUserIpAddress
-
Methods inherited from class com.avoka.core.entity.BaseEntity
appendProperties, getId, getValuesMap, isNew, setId, toString
-
Methods inherited from class org.apache.cayenne.CayenneDataObject
addToManyTarget, getSnapshotVersion, makePath, readNestedProperty, readProperty, readPropertyDirectly, removeToManyTarget, setObjectContext, setPersistenceState, setReverseRelationship, setSnapshotVersion, setToManyTarget, setToOneTarget, toStringBuffer, unsetReverseRelationship, validateForDelete, validateForInsert, validateForSave, validateForUpdate, willConnect, writeProperty, writePropertyDirectly
-
Methods inherited from class org.apache.cayenne.PersistentObject
getMapKey, getObjectContext, getObjectId, getPersistenceState, setObjectId
-
-
-
-
Field Detail
-
STATUS_Completed
public static final String STATUS_Completed
Indicates that the payment has been completed successfully- See Also:
- Constant Field Values
-
STATUS_Error
public static final String STATUS_Error
Indicates that an error has occurred during payment- See Also:
- Constant Field Values
-
STATUS_Cancelled
public static final String STATUS_Cancelled
Indicates that the payment was cancelled while in the payment gateway- See Also:
- Constant Field Values
-
STATUS_Pending
public static final String STATUS_Pending
Indicates that the payment is pending a result from the payment gateway- See Also:
- Constant Field Values
-
-
Method Detail
-
isPaymentCompleted
public boolean isPaymentCompleted()
Return whether payment has been completed- Returns:
- whether the payment is complete
-
isPaymentInError
public boolean isPaymentInError()
Return whether payment is in a error status- Returns:
- whether the payment is in error
- Since:
- 3.7.0
-
isPaymentCancelled
public boolean isPaymentCancelled()
Return whether payment has been cancelled- Returns:
- whether the payment is cancelled
- Since:
- 3.7.0
-
isPaymentPending
public boolean isPaymentPending()
Return whether payment has been pending- Returns:
- whether the payment is pending
- Since:
- 3.7.0
-
-