Enum DefaultPaymentManagementAccessRestrictions
- java.lang.Object
-
- java.lang.Enum<DefaultPaymentManagementAccessRestrictions>
-
- com.broadleafcommerce.cartoperation.domain.enums.DefaultPaymentManagementAccessRestrictions
-
- All Implemented Interfaces:
PaymentManagementAccessRestrictions
,Serializable
,Comparable<DefaultPaymentManagementAccessRestrictions>
@Deprecated public enum DefaultPaymentManagementAccessRestrictions extends Enum<DefaultPaymentManagementAccessRestrictions> implements PaymentManagementAccessRestrictions
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CSR_OWNED
Deprecated.Represents a payment which is being managed by a CSR for the customer.CUSTOMER_MUTABILITY_BLOCKED
Deprecated.Represents a payment which cannot currently be mutated by the customer.TEST_USER_OWNED
Deprecated.Represents a payment which is being managed by an admin in preview mode.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static boolean
isCsrOwned(String paymentManagementStatus)
Deprecated.static boolean
isCustomerMutabilityBlocked(String paymentManagementStatus)
Deprecated.static boolean
isTest(String paymentManagementStatus)
Deprecated.static DefaultPaymentManagementAccessRestrictions
valueOf(String name)
Deprecated.Returns the enum constant of this type with the specified name.static DefaultPaymentManagementAccessRestrictions[]
values()
Deprecated.Returns an array containing the constants of this enum type, in the order they are declared.-
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Methods inherited from interface com.broadleafcommerce.cartoperation.domain.enums.PaymentManagementAccessRestrictions
name
-
-
-
-
Enum Constant Detail
-
CUSTOMER_MUTABILITY_BLOCKED
public static final DefaultPaymentManagementAccessRestrictions CUSTOMER_MUTABILITY_BLOCKED
Deprecated.Represents a payment which cannot currently be mutated by the customer. This can be set anytime the customer should not be able to update a payment (i.e. the payment for a submitted order).
-
CSR_OWNED
public static final DefaultPaymentManagementAccessRestrictions CSR_OWNED
Deprecated.Represents a payment which is being managed by a CSR for the customer. An payment in this status is not visible to the customer. This payment was either created by a CSR or cloned from an existing customer's payment, and can be transferred back to the customer.
-
TEST_USER_OWNED
public static final DefaultPaymentManagementAccessRestrictions TEST_USER_OWNED
Deprecated.Represents a payment which is being managed by an admin in preview mode. This cannot be used during checkout submission.
-
-
Method Detail
-
values
public static DefaultPaymentManagementAccessRestrictions[] values()
Deprecated.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 (DefaultPaymentManagementAccessRestrictions c : DefaultPaymentManagementAccessRestrictions.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DefaultPaymentManagementAccessRestrictions valueOf(String name)
Deprecated.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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
isCustomerMutabilityBlocked
public static boolean isCustomerMutabilityBlocked(String paymentManagementStatus)
Deprecated.
-
isCsrOwned
public static boolean isCsrOwned(String paymentManagementStatus)
Deprecated.
-
isTest
public static boolean isTest(String paymentManagementStatus)
Deprecated.
-
-