Uses of Class
com.broadleafcommerce.cartoperation.domain.checkout.CheckoutProcessDto
Package
Description
-
Uses of CheckoutProcessDto in com.broadleafcommerce.cartoperation.exception
Modifier and TypeMethodDescriptionCheckoutException.getCheckoutProcessDto()
TheCheckoutProcessDto
containing the details of the checkout where exception was thrown.CheckoutWorkflowActivityException.getCheckoutProcessDto()
TheCheckoutProcessDto
being processed in the activity.ModifierConstructorDescriptionCartAwaitingPaymentResultsMessageException
(String message, Throwable cause, CheckoutProcessDto processDto) CartFinalizationException
(String failureType, String message, Throwable cause, CheckoutProcessDto processDto) CheckoutCompletionMessageException
(String message, Throwable cause, CheckoutProcessDto processDto) CheckoutException
(String failureType, String message, CheckoutProcessDto checkoutProcessDto) CheckoutException
(String failureType, String message, Throwable cause, CheckoutProcessDto checkoutProcessDto) CheckoutRollbackException
(String message, Throwable cause, CheckoutProcessDto checkoutProcessDto) CheckoutWorkflowActivityException
(String failureType, String failureMessage, CheckoutProcessDto checkoutProcessDto) CheckoutWorkflowActivityException
(String failureType, String failureMessage, CheckoutProcessDto checkoutProcessDto, List<PaymentTransactionFailureDetail> paymentTransactionFailureDetails) CheckoutWorkflowActivityException
(String failureType, String failureMessage, Throwable cause, CheckoutProcessDto checkoutProcessDto) CheckoutWorkflowActivityException
(String failureType, String failureMessage, Throwable cause, CheckoutProcessDto checkoutProcessDto, List<PaymentTransactionFailureDetail> paymentTransactionFailureDetails) CheckoutWorkflowActivityException
(String failureType, String failureMessage, Map<String, String> itemFailureMessages, CheckoutProcessDto checkoutProcessDto) CheckoutWorkflowException
(Exception e, CheckoutProcessDto processDto) CheckoutWorkflowException
(String failureType, String failureMessage, CheckoutProcessDto processDto) -
Uses of CheckoutProcessDto in com.broadleafcommerce.cartoperation.service.checkout
Modifier and TypeMethodDescriptionprotected CheckoutProcessDto
DefaultCheckoutService.finalizeAccountCartIfNecessary
(@NonNull CheckoutProcessDto processDto, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Finalizes the given accountCart
if necessary.protected CheckoutProcessDto
DefaultCheckoutService.finalizeCart
(@NonNull CheckoutProcessDto processDto, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Following a successful checkout, this method is responsible for recording the finalized state of the cart.CheckoutService.finalizeCheckout
(CheckoutProcessDto processDto, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Finalizes checkout for the givenCart
.DefaultCheckoutService.finalizeCheckout
(@NonNull CheckoutProcessDto processDto, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected CheckoutProcessDto
DefaultCheckoutService.finalizeQuoteIfNecessary
(@NonNull CheckoutProcessDto processDto, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Finalizes the given quoteCart
if necessary.protected CheckoutProcessDto
DefaultCheckoutService.prepareCartForCheckout
(@NonNull CheckoutProcessDto processDto, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Prepares the cart for checkout.protected CheckoutProcessDto
DefaultCheckoutService.removeStaleCartItems
(@NonNull CheckoutProcessDto processDto, @NonNull CheckoutException e, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) RemovesCartItems
from theCart
that can no longer be found in the catalog & reprices the cart.protected CheckoutProcessDto
DefaultCheckoutService.sendCartAwaitingPaymentResultsEvent
(@NonNull CheckoutProcessDto processDto, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Modifier and TypeMethodDescriptionprotected CheckoutResponse
DefaultCheckoutService.buildAwaitingPaymentResultCheckoutResponse
(@NonNull CheckoutProcessDto processDto, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Builds aCheckoutResponse
signifying that the checkout submission is awaiting for payment result based on the givenCheckoutProcessDto
.protected CheckoutResponse
DefaultCheckoutService.buildCheckoutResponseBasedOnCartStatus
(@NonNull CheckoutProcessDto processDto, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Builds aCheckoutResponse
based on the cart status.protected CheckoutResponse
DefaultCheckoutService.buildFailedCheckoutResponse
(@NonNull CheckoutProcessDto processDto, @NonNull RuntimeException exception, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected CheckoutResponse
DefaultCheckoutService.buildSuccessfulCheckoutResponse
(@NonNull CheckoutProcessDto processDto, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Builds a successfulCheckoutResponse
based on the givenCheckoutProcessDto
.protected void
DefaultCheckoutService.cartAwaitingPaymentResultsEvent
(@NonNull CheckoutProcessDto processDto, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Send a message to notify external services (and internal listeners) of the completed checkout so that they can react accordingly.protected CheckoutProcessDto
DefaultCheckoutService.finalizeAccountCartIfNecessary
(@NonNull CheckoutProcessDto processDto, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Finalizes the given accountCart
if necessary.protected CheckoutProcessDto
DefaultCheckoutService.finalizeCart
(@NonNull CheckoutProcessDto processDto, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Following a successful checkout, this method is responsible for recording the finalized state of the cart.CheckoutService.finalizeCheckout
(CheckoutProcessDto processDto, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Finalizes checkout for the givenCart
.DefaultCheckoutService.finalizeCheckout
(@NonNull CheckoutProcessDto processDto, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected void
DefaultCheckoutService.finalizePayments
(@NonNull CheckoutProcessDto processDto, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected CheckoutProcessDto
DefaultCheckoutService.finalizeQuoteIfNecessary
(@NonNull CheckoutProcessDto processDto, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Finalizes the given quoteCart
if necessary.protected CheckoutProcessDto
DefaultCheckoutService.prepareCartForCheckout
(@NonNull CheckoutProcessDto processDto, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Prepares the cart for checkout.CheckoutService.processCheckout
(CheckoutProcessDto checkoutProcessDto, Map<String, String> securityCodes, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Process checkout against the providedCheckoutProcessDto
.DefaultCheckoutService.processCheckout
(@NonNull CheckoutProcessDto processDto, @NonNull Map<String, String> securityCodes, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected CheckoutProcessDto
DefaultCheckoutService.removeStaleCartItems
(@NonNull CheckoutProcessDto processDto, @NonNull CheckoutException e, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) RemovesCartItems
from theCart
that can no longer be found in the catalog & reprices the cart.protected CheckoutProcessDto
DefaultCheckoutService.sendCartAwaitingPaymentResultsEvent
(@NonNull CheckoutProcessDto processDto, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected void
DefaultCheckoutService.sendCheckoutCompletionMessage
(@NonNull CheckoutProcessDto processDto, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Send a message to notify external services (and internal listeners) of the completed checkout so that they can react accordingly.protected void
DefaultCheckoutService.unlockPayments
(@NonNull CheckoutProcessDto processDto, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Sends a request to PaymentTransactionServices to unlock the cart's payments, based on the lock tokens that were previously obtained viaPaymentProvider.lockAndRetrieveCartPayments(Cart, ContextInfo)
.protected void
DefaultCheckoutService.validateAccountCartSubmissionIfNecessary
(@NonNull CheckoutProcessDto processDto, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) If the givenCart
is an account cart, validates if the cart can be submitted by the givenCustomerRef
.protected void
DefaultCheckoutService.validateCheckoutRequest
(@NonNull CheckoutProcessDto processDto, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Validates the cart for checkoutprotected void
DefaultCheckoutService.validateQuoteCartSubmissionIfNecessary
(@NonNull CheckoutProcessDto processDto, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) If the givenCart
is of typeDefaultCartTypes.QUOTE
, validates if the quote can be checked out.protected void
DefaultCheckoutService.validateRequestId
(@NonNull CheckoutProcessDto processDto) Validates that the current requestId is not already associated to the cart -
Uses of CheckoutProcessDto in com.broadleafcommerce.cartoperation.service.checkout.workflow
Modifier and TypeMethodDescriptionCheckoutWorkflow.execute
(CheckoutProcessDto checkoutProcessDto, Map<String, String> securityCodes, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Method used to coordinate the execution ofCheckoutWorkflowActivities
.DefaultCheckoutWorkflow.execute
(@NonNull CheckoutProcessDto processDto, @NonNull Map<String, String> securityCodes, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected CheckoutProcessDto
DefaultCheckoutWorkflow.executeActivity
(@NonNull CheckoutWorkflowActivity activity, @NonNull CheckoutProcessDto processDto, @NonNull Map<String, String> securityCodes, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected CheckoutProcessDto
DefaultCheckoutWorkflow.recordRollbackError
(@NonNull CheckoutProcessDto processDto, @NonNull Exception e, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Method responsible for recording the error that was encountered during the activity's rollback.protected CheckoutProcessDto
DefaultCheckoutWorkflow.recordWorkflowError
(@NonNull CheckoutProcessDto processDto, @NonNull CheckoutWorkflowActivityException workflowActivityException, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Method responsible for recording the error that was encountered during the activity's execution.CheckoutWorkflow.rollback
(CheckoutProcessDto checkoutProcessDto, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Method used to coordinate the rollback of work that has been done by theCheckoutWorkflowActivities
up to that point.DefaultCheckoutWorkflow.rollback
(@NonNull CheckoutProcessDto processDto, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected CheckoutProcessDto
DefaultCheckoutWorkflow.updateCartStatusForPaymentFailures
(@NonNull CheckoutProcessDto processDto, @NonNull CheckoutWorkflowActivityException e, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Modifier and TypeMethodDescriptionCheckoutWorkflow.execute
(CheckoutProcessDto checkoutProcessDto, Map<String, String> securityCodes, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Method used to coordinate the execution ofCheckoutWorkflowActivities
.DefaultCheckoutWorkflow.execute
(@NonNull CheckoutProcessDto processDto, @NonNull Map<String, String> securityCodes, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected CheckoutProcessDto
DefaultCheckoutWorkflow.executeActivity
(@NonNull CheckoutWorkflowActivity activity, @NonNull CheckoutProcessDto processDto, @NonNull Map<String, String> securityCodes, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected List<? extends CheckoutWorkflowActivity>
DefaultCheckoutWorkflow.getWorkflowActivities
(@NonNull CheckoutProcessDto processDto) protected void
DefaultCheckoutWorkflow.recordPaymentFinalizationTimestamp
(@NonNull CheckoutProcessDto processDto) protected CheckoutProcessDto
DefaultCheckoutWorkflow.recordRollbackError
(@NonNull CheckoutProcessDto processDto, @NonNull Exception e, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Method responsible for recording the error that was encountered during the activity's rollback.protected CheckoutProcessDto
DefaultCheckoutWorkflow.recordWorkflowError
(@NonNull CheckoutProcessDto processDto, @NonNull CheckoutWorkflowActivityException workflowActivityException, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Method responsible for recording the error that was encountered during the activity's execution.CheckoutWorkflow.rollback
(CheckoutProcessDto checkoutProcessDto, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Method used to coordinate the rollback of work that has been done by theCheckoutWorkflowActivities
up to that point.DefaultCheckoutWorkflow.rollback
(@NonNull CheckoutProcessDto processDto, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected boolean
DefaultCheckoutWorkflow.shouldEnterAwaitingPaymentFinalizationCartStatus
(@NonNull CheckoutProcessDto processDto, @NonNull CheckoutWorkflowActivityException e, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected void
DefaultCheckoutWorkflow.unlockPayments
(@NonNull CheckoutProcessDto processDto, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected CheckoutProcessDto
DefaultCheckoutWorkflow.updateCartStatusForPaymentFailures
(@NonNull CheckoutProcessDto processDto, @NonNull CheckoutWorkflowActivityException e, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) -
Uses of CheckoutProcessDto in com.broadleafcommerce.cartoperation.service.checkout.workflow.activity
Modifier and TypeMethodDescriptionCartFulfillmentValidationActivity.execute
(@NonNull CheckoutProcessDto processDto, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) CartItemValidationActivity.execute
(@NonNull CheckoutProcessDto processDto, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) CartOfferValidationActivity.execute
(@NonNull CheckoutProcessDto processDto, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) CartPaymentMethodValidationActivity.execute
(@NonNull CheckoutProcessDto processDto, @NonNull Map<String, String> securityCodes, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) CartPricingValidationActivity.execute
(@NonNull CheckoutProcessDto processDto, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) CartStalePricingValidationActivity.execute
(@NonNull CheckoutProcessDto processDto, @NonNull Map<String, String> securityCodes, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) CheckoutWorkflowActivity.execute
(CheckoutProcessDto checkoutProcessDto, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Method responsible for executing some work against the cart that is required for checkout.InventoryAvailabilityValidationCheckoutWorkflowActivity.execute
(@NonNull CheckoutProcessDto processDto, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) PaymentTransactionExecutionActivity.execute
(@NonNull CheckoutProcessDto processDto, @NonNull Map<String, String> securityCodes, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) default CheckoutProcessDto
RequiresSecurePaymentInformationActivity.execute
(CheckoutProcessDto checkoutProcessDto, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Method responsible for executing some work against the cart that is required for checkout.RequiresSecurePaymentInformationActivity.execute
(CheckoutProcessDto checkoutProcessDto, 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.CartFulfillmentValidationActivity.rollback
(@NonNull CheckoutProcessDto processDto, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) CartItemValidationActivity.rollback
(@NonNull CheckoutProcessDto processDto, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) CartOfferValidationActivity.rollback
(@NonNull CheckoutProcessDto processDto, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) CartPaymentMethodValidationActivity.rollback
(@NonNull CheckoutProcessDto processDto, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) CartPricingValidationActivity.rollback
(@NonNull CheckoutProcessDto processDto, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) CartStalePricingValidationActivity.rollback
(@NonNull CheckoutProcessDto processDto, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) CheckoutWorkflowActivity.rollback
(CheckoutProcessDto checkoutProcessDto, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Method responsible for rolling back any work that was done during the execution of theCheckoutWorkflowActivity.execute(CheckoutProcessDto, ContextInfo)
method.InventoryAvailabilityValidationCheckoutWorkflowActivity.rollback
(@NonNull CheckoutProcessDto processDto, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) PaymentTransactionExecutionActivity.rollback
(@NonNull CheckoutProcessDto processDto, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected CheckoutProcessDto
CartStalePricingValidationActivity.validateCartHasLatestPricing
(@NonNull CheckoutProcessDto processDto, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Modifier and TypeMethodDescriptionCartFulfillmentValidationActivity.execute
(@NonNull CheckoutProcessDto processDto, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) CartItemValidationActivity.execute
(@NonNull CheckoutProcessDto processDto, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) CartOfferValidationActivity.execute
(@NonNull CheckoutProcessDto processDto, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) CartPaymentMethodValidationActivity.execute
(@NonNull CheckoutProcessDto processDto, @NonNull Map<String, String> securityCodes, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) CartPricingValidationActivity.execute
(@NonNull CheckoutProcessDto processDto, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) CartStalePricingValidationActivity.execute
(@NonNull CheckoutProcessDto processDto, @NonNull Map<String, String> securityCodes, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) CheckoutWorkflowActivity.execute
(CheckoutProcessDto checkoutProcessDto, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Method responsible for executing some work against the cart that is required for checkout.InventoryAvailabilityValidationCheckoutWorkflowActivity.execute
(@NonNull CheckoutProcessDto processDto, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) PaymentTransactionExecutionActivity.execute
(@NonNull CheckoutProcessDto processDto, @NonNull Map<String, String> securityCodes, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) default CheckoutProcessDto
RequiresSecurePaymentInformationActivity.execute
(CheckoutProcessDto checkoutProcessDto, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Method responsible for executing some work against the cart that is required for checkout.RequiresSecurePaymentInformationActivity.execute
(CheckoutProcessDto checkoutProcessDto, 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.CartFulfillmentValidationActivity.rollback
(@NonNull CheckoutProcessDto processDto, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) CartItemValidationActivity.rollback
(@NonNull CheckoutProcessDto processDto, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) CartOfferValidationActivity.rollback
(@NonNull CheckoutProcessDto processDto, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) CartPaymentMethodValidationActivity.rollback
(@NonNull CheckoutProcessDto processDto, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) CartPricingValidationActivity.rollback
(@NonNull CheckoutProcessDto processDto, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) CartStalePricingValidationActivity.rollback
(@NonNull CheckoutProcessDto processDto, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) CheckoutWorkflowActivity.rollback
(CheckoutProcessDto checkoutProcessDto, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Method responsible for rolling back any work that was done during the execution of theCheckoutWorkflowActivity.execute(CheckoutProcessDto, ContextInfo)
method.InventoryAvailabilityValidationCheckoutWorkflowActivity.rollback
(@NonNull CheckoutProcessDto processDto, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) PaymentTransactionExecutionActivity.rollback
(@NonNull CheckoutProcessDto processDto, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected void
CartOfferValidationActivity.validateCampaignCodeUsages
(@NonNull CheckoutProcessDto processDto, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Deprecated.Deprecated as of 1.8, if using OfferService 2.0, this method is not usedprotected void
CartPaymentMethodValidationActivity.validateCartHasActivePayment
(@NonNull CheckoutProcessDto processDto) Validate that the cart has at least one active payment.protected CheckoutProcessDto
CartStalePricingValidationActivity.validateCartHasLatestPricing
(@NonNull CheckoutProcessDto processDto, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected void
CartItemValidationActivity.validateCartItems
(@NonNull CheckoutProcessDto processDto, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Validates that each of the cart'sCartItems
include all necessary selections and datavoid
CartStatusValidationHelper.validateCartStatusForCheckout
(@NonNull CheckoutProcessDto processDto) Validates that the cart is in a status which is valid for checkout.protected void
CartPaymentMethodValidationActivity.validateCollectOnDeliveryFees
(@NonNull CheckoutProcessDto processDto, @NonNull CheckoutPaymentMethodOption codCheckoutPaymentMethodOption, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected void
CartPaymentMethodValidationActivity.validateCollectOnDeliveryFulfilmentInclusionsAndExclusions
(@NonNull CheckoutProcessDto processDto, @NonNull com.broadleafcommerce.cart.client.domain.FulfillmentGroup codFulfillmentGroup, @NonNull CheckoutPaymentMethodOption codCheckoutPaymentMethodOption, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected void
CartPaymentMethodValidationActivity.validateCollectOnDeliveryMinAndMaxCartAmounts
(@NonNull CheckoutProcessDto processDto, @NonNull CheckoutPaymentMethodOption codCheckoutPaymentMethodOption, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected void
CartPaymentMethodValidationActivity.validateCollectOnDeliveryPaymentConfiguration
(@NonNull CheckoutProcessDto processDto, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Validate that COD payments are valid and correctly configured in the cart context.protected void
CartOfferValidationActivity.validateOfferAndOfferCodeUsages
(@NonNull CheckoutProcessDto processDto, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Validate that the offers and offer codes used in the specified cart are still valid upon checkout.protected void
CartPaymentMethodValidationActivity.validatePaymentAmount
(@NonNull CheckoutProcessDto processDto) Validate that each of thePaymentSummaries
are responsible for a zero or greater amount.protected void
CartPaymentMethodValidationActivity.validatePaymentAmountSum
(@NonNull CheckoutProcessDto processDto, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Validate that the sum of thePaymentSummary amounts
is equal to the cart total (CartPricing.getTotal()
).protected void
CartPaymentMethodValidationActivity.validatePaymentMethodAvailability
(@NonNull CheckoutProcessDto processDto, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Validate that the payments on the cart are available in the current context.protected void
CartPaymentMethodValidationActivity.validatePaymentTransactionAmountSums
(@NonNull CheckoutProcessDto processDto, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Validates that the sum of authorized/captured amount of the successful transactions equal to the payment amount.protected void
CartPricingValidationActivity.validatePricing
(@NonNull CheckoutProcessDto processDto, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Validate that theCart
and itsCartItems
have been successfully pricedprotected void
CartPaymentMethodValidationActivity.validateStoreCreditAccountBalanceIfNeeded
(@NonNull CheckoutProcessDto processDto, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Validates that the store credit account has sufficient funds if needed. -
Uses of CheckoutProcessDto in com.broadleafcommerce.cartoperation.service.messaging.finalizecart
Modifier and TypeMethodDescriptionprotected CheckoutProcessDto
ExternalPaymentTransactionCartFinalizationListener.buildCheckoutProcessDto
(@NonNull com.broadleafcommerce.cart.client.domain.Cart cart, @NonNull String checkoutRequestId, @NonNull List<PaymentSummary> cartPayments, @NonNull Map<String, String> paymentLockTokens) Modifier and TypeMethodDescriptionprotected void
ExternalPaymentTransactionCartFinalizationListener.finalizeCart
(@NonNull CheckoutProcessDto processDto, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Finalizes the cart for checkout. -
Uses of CheckoutProcessDto in com.broadleafcommerce.cartoperation.service.payment
Modifier and TypeMethodDescriptionprotected CheckoutProcessDto
DefaultPaymentTransactionExecutionService.claimTransactionsForRequest
(@NonNull CheckoutProcessDto processDto, @NonNull PaymentSummary paymentSummary, @NonNull String checkoutTransactionType, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected CheckoutProcessDto
DefaultPaymentTransactionExecutionService.executeCartPaymentTransactions
(@NonNull CheckoutProcessDto processDto, @NonNull Map<String, String> securityCodes, @NonNull List<PaymentSummary> paymentSummaries, @NonNull List<PaymentSummary> storeCreditPayments, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) DefaultPaymentTransactionExecutionService.executeCartPaymentTransactions
(@NonNull CheckoutProcessDto processDto, @NonNull Map<String, String> securityCodes, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) PaymentTransactionExecutionService.executeCartPaymentTransactions
(CheckoutProcessDto processDto, Map<String, String> securityCodes, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Executes set of payment transactions against the cart'sPaymentSummaries
.protected CheckoutProcessDto
DefaultPaymentTransactionExecutionService.executePaymentTransaction
(@NonNull CheckoutProcessDto processDto, @NonNull PaymentSummary paymentSummary, String securityCode, @NonNull String checkoutTransactionType, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Executes a payment transaction against the providedPaymentSummary
.protected CheckoutProcessDto
DefaultPaymentTransactionExecutionService.lookup3DSTransactionResults
(@NonNull CheckoutProcessDto processDto, @NonNull PaymentSummary paymentSummary, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected CheckoutProcessDto
DefaultPaymentTransactionExecutionService.lookupExternalTransactionResults
(@NonNull CheckoutProcessDto processDto, @NonNull PaymentSummary paymentSummary, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Modifier and TypeMethodDescriptionprotected CheckoutProcessDto
DefaultPaymentTransactionExecutionService.claimTransactionsForRequest
(@NonNull CheckoutProcessDto processDto, @NonNull PaymentSummary paymentSummary, @NonNull String checkoutTransactionType, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected CheckoutProcessDto
DefaultPaymentTransactionExecutionService.executeCartPaymentTransactions
(@NonNull CheckoutProcessDto processDto, @NonNull Map<String, String> securityCodes, @NonNull List<PaymentSummary> paymentSummaries, @NonNull List<PaymentSummary> storeCreditPayments, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) DefaultPaymentTransactionExecutionService.executeCartPaymentTransactions
(@NonNull CheckoutProcessDto processDto, @NonNull Map<String, String> securityCodes, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) PaymentTransactionExecutionService.executeCartPaymentTransactions
(CheckoutProcessDto processDto, Map<String, String> securityCodes, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Executes set of payment transactions against the cart'sPaymentSummaries
.protected CheckoutProcessDto
DefaultPaymentTransactionExecutionService.executePaymentTransaction
(@NonNull CheckoutProcessDto processDto, @NonNull PaymentSummary paymentSummary, String securityCode, @NonNull String checkoutTransactionType, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Executes a payment transaction against the providedPaymentSummary
.protected CheckoutProcessDto
DefaultPaymentTransactionExecutionService.lookup3DSTransactionResults
(@NonNull CheckoutProcessDto processDto, @NonNull PaymentSummary paymentSummary, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected CheckoutProcessDto
DefaultPaymentTransactionExecutionService.lookupExternalTransactionResults
(@NonNull CheckoutProcessDto processDto, @NonNull PaymentSummary paymentSummary, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) -
Uses of CheckoutProcessDto in com.broadleafcommerce.cartoperation.web.endpoint
Modifier and TypeMethodDescriptionprotected CheckoutProcessDto
CheckoutCartEndpoint.buildCheckoutProcessDto
(@NonNull CheckoutProcessRequest processRequest, @NonNull com.broadleafcommerce.cart.client.domain.Cart cart, com.broadleafcommerce.order.common.domain.CustomerRef customerRef)