Class ResourceLockConceptKeys


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

      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values