Class 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 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
    • Constructor Detail

      • PaymentLog

        public PaymentLog()
    • 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