Enum DefaultPaymentManagementAccessRestrictions
java.lang.Object
java.lang.Enum<DefaultPaymentManagementAccessRestrictions>
com.broadleafcommerce.paymenttransaction.domain.enums.DefaultPaymentManagementAccessRestrictions
- All Implemented Interfaces:
PaymentManagementAccessRestrictions
,Serializable
,Comparable<DefaultPaymentManagementAccessRestrictions>
public enum DefaultPaymentManagementAccessRestrictions
extends Enum<DefaultPaymentManagementAccessRestrictions>
implements PaymentManagementAccessRestrictions
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionRepresents a payment which is being managed by a CSR for the customer.Represents a payment which cannot currently be mutated by the customer.Represents a payment which is being managed by an admin in preview mode. -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
isCsrOwned
(String paymentManagementStatus) static boolean
isCustomerMutabilityBlocked
(String paymentManagementStatus) static boolean
Returns the enum constant of this type with the specified name.values()
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.paymenttransaction.domain.enums.PaymentManagementAccessRestrictions
name
-
Enum Constant Details
-
CUSTOMER_MUTABILITY_BLOCKED
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
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
Represents a payment which is being managed by an admin in preview mode. This cannot be used during checkout submission.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
isCsrOwned
-
isTest
-