java.lang.Object
com.broadleafcommerce.orderoperation.service.messaging.support.ResourceLockConceptKeys

public final class ResourceLockConceptKeys extends Object
Holds common concept keys used to obtain resource locks from ResourceLockProvider.
Author:
Samarth Dhruva (samarthd)
  • Field Details

    • ORDER_PAYMENT_MANAGEMENT

      public static final String ORDER_PAYMENT_MANAGEMENT
      Used when locking on an Order to perform payment execution. For example, this is useful for preventing payment capture and payment refund flows from concurrently reading and modifying the same data.
      See Also:
    • ORDER_FULFILLMENT_MANAGEMENT

      public static final String ORDER_FULFILLMENT_MANAGEMENT
      Used when locking on an OrderFulfillment. For example, this is useful for preventing payment capture flow from concurrently reading and modifying the same data.
      See Also:
    • RETURN_AUTHORIZATION_MANAGEMENT

      public static final String RETURN_AUTHORIZATION_MANAGEMENT
      Used when locking on an ReturnAuthorization to update the refund amounts for ReturnAuthorization and ReturnConfirmation. For example, this is useful for preventing refund payment transaction webhook flows from concurrently reading and modifying the same data.
      See Also: