Enum PaymentStatus

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<PaymentStatus>

    public enum PaymentStatus
    extends java.lang.Enum<PaymentStatus>
    Lists the status at each stage of the payment process
    • Enum Constant Detail

      • PAYMENT_STATUS_UNKNOWN

        public static final PaymentStatus PAYMENT_STATUS_UNKNOWN
        Payment Request initial status
      • PAYMENT_STATUS_SUBMIT_FORM_SUCCESS

        public static final PaymentStatus PAYMENT_STATUS_SUBMIT_FORM_SUCCESS
        Payment Form is successfully submitted.
      • PAYMENT_STATUS_SUBMIT_FORM_CANCELED

        public static final PaymentStatus PAYMENT_STATUS_SUBMIT_FORM_CANCELED
        Payment Form submission is canceled
      • PAYMENT_STATUS_SUBMIT_FORM_FAILED

        public static final PaymentStatus PAYMENT_STATUS_SUBMIT_FORM_FAILED
        Payment Form submission failed.
      • PAYMENT_STATUS_SUCCESS

        public static final PaymentStatus PAYMENT_STATUS_SUCCESS
        Payment Request is successfully processed.
      • PAYMENT_STATUS_CANCELED

        public static final PaymentStatus PAYMENT_STATUS_CANCELED
        Payment Request is canceled
      • PAYMENT_STATUS_FAILED

        public static final PaymentStatus PAYMENT_STATUS_FAILED
        Payment Request processing has failed.
      • PAYMENT_STATUS_PAUSED

        public static final PaymentStatus PAYMENT_STATUS_PAUSED
        Payment processing paused.
      • PAYMENT_STATUS_RESUMED

        public static final PaymentStatus PAYMENT_STATUS_RESUMED
        Payment processing resumed.
    • Method Detail

      • values

        public static PaymentStatus[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (PaymentStatus c : PaymentStatus.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static PaymentStatus valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null