Interface RequiresSecurePaymentInformationActivity
- All Superinterfaces:
 CheckoutWorkflowActivity
- All Known Implementing Classes:
 CartPaymentMethodValidationActivity,PaymentTransactionExecutionActivity
An extension of 
CheckoutWorkflowActivity}, implementations of this interface require
 secure payment information (i.e. payment security codes) during the complete checkout workflow.- Author:
 - Marie Standeven (marieStandeven)
 
- 
Method Summary
Modifier and TypeMethodDescriptiondefault CheckoutProcessDtoexecute(CheckoutProcessDto checkoutProcessDto, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Method responsible for executing some work against the cart that is required for checkout.execute(CheckoutProcessDto checkoutProcessDto, List<SensitivePaymentMethodData> sensitivePaymentMethodData, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Method responsible for executing some work against the cart that requires secure payment information in checkout.execute(CheckoutProcessDto checkoutProcessDto, Map<String, String> securityCodes, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Deprecated, for removal: This API element is subject to removal in a future version.Methods inherited from interface com.broadleafcommerce.cartoperation.service.checkout.workflow.activity.CheckoutWorkflowActivity
rollback 
- 
Method Details
- 
execute
@Deprecated(since="2.1.3", forRemoval=true) CheckoutProcessDto execute(CheckoutProcessDto checkoutProcessDto, Map<String, String> securityCodes, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Deprecated, for removal: This API element is subject to removal in a future version.in favor ofexecute(CheckoutProcessDto, List, ContextInfo)Method responsible for executing some work against the cart that requires secure payment information in checkout.- Parameters:
 checkoutProcessDto- TheCheckoutProcessDtothat we're attempting to checkout with.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 
CheckoutProcessDtofollowing the execution of the activity. - Throws:
 CheckoutWorkflowActivityException- thrown if an unrecoverable error is encountered during the execution of the activity
 - 
execute
CheckoutProcessDto execute(CheckoutProcessDto checkoutProcessDto, List<SensitivePaymentMethodData> sensitivePaymentMethodData, @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:
 checkoutProcessDto- TheCheckoutProcessDtothat we're attempting to checkout with.sensitivePaymentMethodData- Collection ofSensitivePaymentMethodDataused to communicate payment method properties that should not be persisted in Payment#paymentMethodProperties in PaymentTransactionServices.contextInfo- Context information around sandbox and multitenant state.- Returns:
 - The final state of the 
CheckoutProcessDtofollowing the execution of the activity. - Throws:
 CheckoutWorkflowActivityException- thrown if an unrecoverable error is encountered during the execution of the activity
 - 
execute
default CheckoutProcessDto execute(CheckoutProcessDto checkoutProcessDto, @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:
 executein interfaceCheckoutWorkflowActivity- Parameters:
 checkoutProcessDto- TheCheckoutProcessDtothat we're attempting to checkout with.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(CheckoutProcessDto, List, ContextInfo)