Enum Class DefaultSubscriptionActionApisLocations

java.lang.Object
java.lang.Enum<DefaultSubscriptionActionApisLocations>
com.broadleafcommerce.subscription.web.domain.DefaultSubscriptionActionApisLocations
All Implemented Interfaces:
Serializable, Comparable<DefaultSubscriptionActionApisLocations>, Constable

public enum DefaultSubscriptionActionApisLocations extends Enum<DefaultSubscriptionActionApisLocations>
Describes the possible services whose APIs are intended to be used to handle subscription actions (e.g. cancellations). Historically, these actions were handled by Broadleaf's BillingServices (i.e. BLC_BILLING_SERVICES).
  • Enum Constant Details

    • BLC_SUBSCRIPTION_OPERATION_SERVICES

      public static final DefaultSubscriptionActionApisLocations BLC_SUBSCRIPTION_OPERATION_SERVICES
      Declares that Broadleaf's SubscriptionOperationService APIs are to be used to handle subscription actions, whereas BillingServices APIs will be used for simple subscription CRUD operations.
    • BLC_BILLING_SERVICES

      public static final DefaultSubscriptionActionApisLocations BLC_BILLING_SERVICES
      Declares that Broadleaf's BillingService APIs are to be used to handle subscription actions.
  • Method Details

    • values

      public static DefaultSubscriptionActionApisLocations[] 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 DefaultSubscriptionActionApisLocations 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