Enum Class DefaultTabbySessionStatuses

java.lang.Object
java.lang.Enum<DefaultTabbySessionStatuses>
com.broadleafcommerce.tabby.domain.enums.DefaultTabbySessionStatuses
All Implemented Interfaces:
TabbySessionStatuses, Serializable, Comparable<DefaultTabbySessionStatuses>, Constable

public enum DefaultTabbySessionStatuses extends Enum<DefaultTabbySessionStatuses> implements TabbySessionStatuses
The default session statuses.
Author:
Dima Myroniuk (dmyroniuk)
  • Enum Constant Details

    • CREATED

      public static final DefaultTabbySessionStatuses CREATED
      The request to use Tabby is approved and the customer can proceed.
    • APPROVED

      public static final DefaultTabbySessionStatuses APPROVED
      The customer has completed the interaction on the HPP & the transaction has been approved.
    • REJECTED

      public static final DefaultTabbySessionStatuses REJECTED
      The request to use Tabby has been rejected. This is the final status of the payment.
    • EXPIRED

      public static final DefaultTabbySessionStatuses EXPIRED
      The customer has cancelled their intention to use Tabby or the checkout session has expired. This is the final status of the payment.
  • Method Details

    • values

      public static DefaultTabbySessionStatuses[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static DefaultTabbySessionStatuses valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • isCreated

      public static boolean isCreated(String status)
    • isApproved

      public static boolean isApproved(String status)
    • isRejected

      public static boolean isRejected(String status)
    • isExpired

      public static boolean isExpired(String status)