Interface RequiresSecurePaymentInformationActivity

    • Method Summary

      All Methods Instance Methods Abstract Methods Default Methods 
      Modifier and Type Method Description
      default com.broadleafcommerce.cart.client.domain.Cart execute​(com.broadleafcommerce.cart.client.domain.Cart cart, String requestId, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Method responsible for executing some work against the cart that is required for checkout.
      com.broadleafcommerce.cart.client.domain.Cart execute​(com.broadleafcommerce.cart.client.domain.Cart cart, String requestId, Map<String,​String> paymentLockTokens, Map<String,​String> securityCodes, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Method responsible for executing some work against the cart that requires secure payment information in checkout.
    • Method Detail

      • execute

        com.broadleafcommerce.cart.client.domain.Cart execute​(com.broadleafcommerce.cart.client.domain.Cart cart,
                                                              String requestId,
                                                              Map<String,​String> paymentLockTokens,
                                                              Map<String,​String> securityCodes,
                                                              @Nullable
                                                              com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
        Method responsible for executing some work against the cart that requires secure payment information in checkout.
        Parameters:
        cart - The Cart that we're attempting to checkout with.
        requestId - The id used to identify changes tied to the specific execution request
        paymentLockTokens - Tokens that grant this service access to act upon the payment. The presence of these tokens indicates that this execution flow owns the lock.
        securityCodes - Secure codes that are passed to the gateway for verification during authorization or capture transactions.
        contextInfo - Context information around sandbox and multitenant state.
        Returns:
        The final state of the cart following the execution of the activity.
        Throws:
        CheckoutWorkflowActivityException - thrown if an unrecoverable error is encountered during the execution of the activity
      • execute

        default com.broadleafcommerce.cart.client.domain.Cart execute​(com.broadleafcommerce.cart.client.domain.Cart cart,
                                                                      String requestId,
                                                                      @Nullable
                                                                      com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
        Method responsible for executing some work against the cart that is required for checkout.
        Specified by:
        execute in interface CheckoutWorkflowActivity
        Parameters:
        cart - The Cart that we're attempting to checkout with.
        requestId - The id used to identify changes tied to the specific execution request
        contextInfo - Context information around sandbox and multitenant state.
        Returns:
        The final state of the cart following the execution of the activity.
        Throws:
        CheckoutWorkflowActivityException - thrown if an unrecoverable error is encountered during the execution of the activity