Enum Class DefaultPaymentManagementAccessRestrictions
- All Implemented Interfaces:
PaymentManagementAccessRestrictions
,Serializable
,Comparable<DefaultPaymentManagementAccessRestrictions>
,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionDeprecated.Represents a payment which is being managed by a CSR for the customer.Deprecated.Represents a payment which cannot currently be mutated by the customer.Deprecated.Represents a payment which cannot currently be mutated by the customer.Deprecated.Represents a payment which is being managed by an admin in preview mode. -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
isCsrOwned
(String paymentManagementStatus) Deprecated.static boolean
isCustomerMutabilityBlocked
(String paymentManagementStatus) Deprecated.static boolean
Deprecated.Deprecated.Returns the enum constant of this class with the specified name.values()
Deprecated.Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
Methods inherited from interface com.broadleafcommerce.cartoperation.domain.enums.PaymentManagementAccessRestrictions
name
-
Enum Constant Details
-
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). -
CUSTOMER_MUTABILITY_BLOCKED_FOR_PAYMENT_FINALIZATION
public static final DefaultPaymentManagementAccessRestrictions CUSTOMER_MUTABILITY_BLOCKED_FOR_PAYMENT_FINALIZATIONDeprecated.Represents a payment which cannot currently be mutated by the customer.This restriction is typically used if a checkout transaction has been attempted, but additional actions from the customer is required to finalize the transaction. For example, 3DS verification may be required, or a payment interaction must be completed on a gateway-hosted page. In this kind of checkout interaction, if the cart is valid and payments will sufficiently cover the cart total, then the customer only needs to finalize the payments to complete their checkout. In this scenario, the customer should not be allowed to update (e.g. modify the payment amount) or archive the Payment. On the other hand, if the customer chooses to opt-out of finalizing the payment, then this restriction can be removed, allowing the payment to be updated or archived by the customer.
-
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
Deprecated.Represents a payment which is being managed by an admin in preview mode. This cannot be used during checkout submission.
-
-
Method Details
-
values
Deprecated.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
Deprecated.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 nameNullPointerException
- if the argument is null
-
isCustomerMutabilityBlocked
Deprecated. -
isCsrOwned
Deprecated. -
isTest
Deprecated.
-
PaymentProvider.finalizePaymentsForCheckout(String, Map, ContextInfo)
,PaymentProvider.transferPaymentsToCSR(String, Map, ContextInfo)
, andPaymentProvider.transferPaymentsToCustomer(String, Map, ContextInfo)