Class PaymentLog

java.lang.Object
org.apache.cayenne.PersistentObject
org.apache.cayenne.BaseDataObject
org.apache.cayenne.CayenneDataObject
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:
  • Field Details

    • STATUS_Completed

      public static final String STATUS_Completed
      Indicates that the payment has been completed successfully
      See Also:
    • STATUS_Error

      public static final String STATUS_Error
      Indicates that an error has occurred during payment
      See Also:
    • STATUS_Cancelled

      public static final String STATUS_Cancelled
      Indicates that the payment was cancelled while in the payment gateway
      See Also:
    • STATUS_Pending

      public static final String STATUS_Pending
      Indicates that the payment is pending a result from the payment gateway
      See Also:
  • Constructor Details

    • PaymentLog

      public PaymentLog()
  • Method Details

    • 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