Uses of Class
com.broadleafcommerce.cartoperation.domain.payment.PaymentSummary
-
-
Uses of PaymentSummary in com.broadleafcommerce.cartoperation.service
Methods in com.broadleafcommerce.cartoperation.service that return PaymentSummary Modifier and Type Method Description protected PaymentSummaryDefaultCartOperationService. allocateCartTotalToPayment(@NonNull PaymentSummary paymentSummary, @NonNull javax.money.MonetaryAmount cartTotal, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)Hook point to automatically reallocate the cart total to the cart's single payment.Methods in com.broadleafcommerce.cartoperation.service that return types with arguments of type PaymentSummary Modifier and Type Method Description protected PaymentProvider<PaymentSummary>DefaultCartOperationService. getPaymentProvider()protected PaymentProvider<PaymentSummary>DefaultGuestCartProtectionService. getPaymentProvider()Methods in com.broadleafcommerce.cartoperation.service with parameters of type PaymentSummary Modifier and Type Method Description protected PaymentSummaryDefaultCartOperationService. allocateCartTotalToPayment(@NonNull PaymentSummary paymentSummary, @NonNull javax.money.MonetaryAmount cartTotal, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)Hook point to automatically reallocate the cart total to the cart's single payment.Method parameters in com.broadleafcommerce.cartoperation.service with type arguments of type PaymentSummary Modifier and Type Method Description protected voidDefaultCartOperationService. reallocateCartTotalAmongstPayments(@NonNull List<PaymentSummary> paymentSummaries, @NonNull javax.money.MonetaryAmount cartTotal, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)Hook point to automatically reallocate the cart total amongst the cart's payments.voidDefaultCartOperationService. setPaymentProvider(PaymentProvider<PaymentSummary> paymentProvider)Constructor parameters in com.broadleafcommerce.cartoperation.service with type arguments of type PaymentSummary Constructor Description DefaultGuestCartProtectionService(GuestTokenProvider tokenProvider, GuestTokenGenerator tokenGenerator, PaymentProvider<PaymentSummary> paymentProvider) -
Uses of PaymentSummary in com.broadleafcommerce.cartoperation.service.autoconfigure
Methods in com.broadleafcommerce.cartoperation.service.autoconfigure with type parameters of type PaymentSummary Modifier and Type Method Description <T extends PaymentSummary>
PaymentProvider<T>CartOperationServiceAutoConfiguration. paymentProvider(org.springframework.web.reactive.function.client.WebClient webClient, com.fasterxml.jackson.databind.ObjectMapper objectMapper, com.broadleafcommerce.common.extension.TypeFactory typeFactory, ExternalPaymentProperties externalPaymentsProperties) -
Uses of PaymentSummary in com.broadleafcommerce.cartoperation.service.checkout
Methods in com.broadleafcommerce.cartoperation.service.checkout that return types with arguments of type PaymentSummary Modifier and Type Method Description protected PaymentProvider<PaymentSummary>DefaultCheckoutService. getPaymentProvider()Constructor parameters in com.broadleafcommerce.cartoperation.service.checkout with type arguments of type PaymentSummary Constructor Description DefaultCheckoutService(CartStatusValidationHelper cartStatusValidationHelper, CheckoutWorkflow checkoutWorkflow, CartProvider cartProvider, com.broadleafcommerce.common.messaging.checkout.CheckoutCompletionProducer checkoutCompletionProducer, ExternalCartProperties externalCartProperties, PaymentProvider<PaymentSummary> paymentProvider, org.springframework.context.MessageSource messageSource, com.broadleafcommerce.common.extension.TypeFactory typeFactory) -
Uses of PaymentSummary in com.broadleafcommerce.cartoperation.service.checkout.workflow.activity
Methods in com.broadleafcommerce.cartoperation.service.checkout.workflow.activity that return types with arguments of type PaymentSummary Modifier and Type Method Description protected PaymentProvider<PaymentSummary>CartPaymentMethodValidationActivity. getPaymentProvider()Methods in com.broadleafcommerce.cartoperation.service.checkout.workflow.activity with parameters of type PaymentSummary Modifier and Type Method Description protected booleanCartPaymentMethodValidationActivity. hasValidAmountAuthorizedOrCaptured(@NonNull javax.money.MonetaryAmount amountAuthorizedOrCaptured, @NonNull PaymentSummary paymentSummary, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)Validates that the amount authorized or captured fully covers the payment total amount.protected booleanCartPaymentMethodValidationActivity. isExternalTransactionExpected(@NonNull PaymentSummary paymentSummary, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)Based on the providedPaymentGatewayType, determine if the expected transaction is external.Method parameters in com.broadleafcommerce.cartoperation.service.checkout.workflow.activity with type arguments of type PaymentSummary Modifier and Type Method Description protected voidCartPaymentMethodValidationActivity. validateCartHasActivePayment(@NonNull com.broadleafcommerce.cart.client.domain.Cart cart, @NonNull List<PaymentSummary> paymentSummaries)Validate that the cart has at least one active payment.protected voidCartPaymentMethodValidationActivity. validatePaymentAmount(@NonNull com.broadleafcommerce.cart.client.domain.Cart cart, @NonNull List<PaymentSummary> paymentSummaries)Validate that each of thePaymentSummariesare responsible for a zero or greater amount.protected voidCartPaymentMethodValidationActivity. validatePaymentAmountSum(@NonNull com.broadleafcommerce.cart.client.domain.Cart cart, @NonNull List<PaymentSummary> paymentSummaries, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)Validate that the sum of thePaymentSummary amountsis equal to the cart total (CartPricing.getTotal()).protected voidCartPaymentMethodValidationActivity. validatePaymentTransactionAmountSums(@NonNull com.broadleafcommerce.cart.client.domain.Cart cart, @NonNull List<PaymentSummary> paymentSummaries, 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.Constructor parameters in com.broadleafcommerce.cartoperation.service.checkout.workflow.activity with type arguments of type PaymentSummary Constructor Description CartPaymentMethodValidationActivity(PaymentProvider<PaymentSummary> paymentProvider, CartOperationCheckoutProperties properties, org.springframework.context.MessageSource messageSource) -
Uses of PaymentSummary in com.broadleafcommerce.cartoperation.service.csr
Methods in com.broadleafcommerce.cartoperation.service.csr that return types with arguments of type PaymentSummary Modifier and Type Method Description protected PaymentProvider<PaymentSummary>DefaultCartTransferService. getPaymentProvider()protected PaymentProvider<PaymentSummary>DefaultCsrCartOperationService. getPaymentProvider()Constructor parameters in com.broadleafcommerce.cartoperation.service.csr with type arguments of type PaymentSummary Constructor Description DefaultCartTransferService(CartOperationService cartOperationService, CartProvider cartProvider, com.broadleafcommerce.resource.security.utils.service.AuthenticationUtils authenticationUtils, com.broadleafcommerce.common.extension.TypeFactory typeFactory, TransferCartTokenEncoder transferCartTokenEncoder, TransferCartTokenDecoder transferCartTokenDecoder, PaymentProvider<PaymentSummary> paymentProvider)DefaultCsrCartOperationService(CartOperationService cartOperationService, CartProvider cartProvider, com.broadleafcommerce.resource.security.utils.service.AuthenticationUtils authenticationUtils, PaymentProvider<PaymentSummary> paymentProvider, com.broadleafcommerce.common.extension.TypeFactory typeFactory) -
Uses of PaymentSummary in com.broadleafcommerce.cartoperation.service.fulfillment.address
Methods in com.broadleafcommerce.cartoperation.service.fulfillment.address that return types with arguments of type PaymentSummary Modifier and Type Method Description protected PaymentProvider<PaymentSummary>PaymentTaxAddressSourceHandler. getPaymentProvider()Constructor parameters in com.broadleafcommerce.cartoperation.service.fulfillment.address with type arguments of type PaymentSummary Constructor Description PaymentTaxAddressSourceHandler(PaymentProvider<PaymentSummary> paymentProvider, com.broadleafcommerce.common.extension.TypeFactory typeFactory) -
Uses of PaymentSummary in com.broadleafcommerce.cartoperation.service.messaging.completion
Methods in com.broadleafcommerce.cartoperation.service.messaging.completion that return types with arguments of type PaymentSummary Modifier and Type Method Description List<PaymentSummary>CheckoutCompletionEvent. getPaymentSummaries()The payments for the cart that completed the checkout workflowMethod parameters in com.broadleafcommerce.cartoperation.service.messaging.completion with type arguments of type PaymentSummary Modifier and Type Method Description voidCheckoutCompletionEvent. setPaymentSummaries(List<PaymentSummary> paymentSummaries)The payments for the cart that completed the checkout workflowConstructor parameters in com.broadleafcommerce.cartoperation.service.messaging.completion with type arguments of type PaymentSummary Constructor Description CheckoutCompletionEvent(com.broadleafcommerce.cart.client.domain.CheckoutCart cart, List<PaymentSummary> paymentSummaries, String requestId, com.broadleafcommerce.data.tracking.core.context.ContextInfo info) -
Uses of PaymentSummary in com.broadleafcommerce.cartoperation.service.payment
Methods in com.broadleafcommerce.cartoperation.service.payment that return types with arguments of type PaymentSummary Modifier and Type Method Description protected PaymentProvider<PaymentSummary>DefaultPaymentTransactionExecutionService. getPaymentProvider()protected List<PaymentSummary>DefaultPaymentTransactionExecutionService. sortPayments(List<PaymentSummary> payments)Hook used to order the cart's payments to produce the most favorable conditions when executing transactions against the payment.Methods in com.broadleafcommerce.cartoperation.service.payment with parameters of type PaymentSummary Modifier and Type Method Description protected TransactionExecutionRequestDefaultPaymentTransactionExecutionService. buildTransactionExecutionRequest(@NonNull com.broadleafcommerce.cart.client.domain.Cart cart, @NonNull PaymentSummary paymentSummary, @NonNull String requestId, String securityCode)Builds aTransactionExecutionRequestto execute a transaction against the providedPaymentSummary.protected com.broadleafcommerce.cart.client.domain.CartDefaultPaymentTransactionExecutionService. executePaymentTransaction(@NonNull com.broadleafcommerce.cart.client.domain.Cart cart, @NonNull String requestId, @NonNull PaymentSummary paymentSummary, @NonNull String checkoutTransactionType, String lockToken, String securityCode, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)Executes a payment transaction against the providedPaymentSummary.protected booleanDefaultPaymentTransactionExecutionService. shouldExecutePaymentTransaction(PaymentSummary paymentSummary, String checkoutTransactionType)Determine whether to execute a transaction for this payment.Method parameters in com.broadleafcommerce.cartoperation.service.payment with type arguments of type PaymentSummary Modifier and Type Method Description protected List<PaymentSummary>DefaultPaymentTransactionExecutionService. sortPayments(List<PaymentSummary> payments)Hook used to order the cart's payments to produce the most favorable conditions when executing transactions against the payment.Constructor parameters in com.broadleafcommerce.cartoperation.service.payment with type arguments of type PaymentSummary Constructor Description DefaultPaymentTransactionExecutionService(PaymentTransactionExecutionProvider transactionExecutionProvider, PaymentProvider<PaymentSummary> paymentProvider, CartOperationCheckoutProperties properties, com.broadleafcommerce.common.extension.TypeFactory typeFactory) -
Uses of PaymentSummary in com.broadleafcommerce.cartoperation.service.provider
Classes in com.broadleafcommerce.cartoperation.service.provider with type parameters of type PaymentSummary Modifier and Type Interface Description interfacePaymentProvider<P extends PaymentSummary>Provider for interfacing with a Payment Management system for operations around payment related entities.Methods in com.broadleafcommerce.cartoperation.service.provider that return PaymentSummary Modifier and Type Method Description default PaymentSummaryPaymentProvider. patchPayment(@NonNull UpdatePaymentRequest updatePaymentRequest, @NonNull Integer version, com.broadleafcommerce.data.tracking.core.context.ContextInfo context)Updates the payment based on the providedUpdatePaymentRequest.PaymentSummaryPaymentProvider. patchPayment(UpdatePaymentRequest updatePaymentRequest, Integer version, String lockToken, com.broadleafcommerce.data.tracking.core.context.ContextInfo context)Updates the payment based on the providedUpdatePaymentRequest. -
Uses of PaymentSummary in com.broadleafcommerce.cartoperation.service.provider.external.domain.payment
Methods in com.broadleafcommerce.cartoperation.service.provider.external.domain.payment that return PaymentSummary Modifier and Type Method Description PaymentSummaryTransactionExecutionResponse. getPaymentSummary()The updatedPaymentSummaryrepresentation.Methods in com.broadleafcommerce.cartoperation.service.provider.external.domain.payment with parameters of type PaymentSummary Modifier and Type Method Description voidTransactionExecutionResponse. setPaymentSummary(PaymentSummary paymentSummary)The updatedPaymentSummaryrepresentation. -
Uses of PaymentSummary in com.broadleafcommerce.cartoperation.service.provider.external.payments
Classes in com.broadleafcommerce.cartoperation.service.provider.external.payments with type parameters of type PaymentSummary Modifier and Type Class Description classExternalPaymentProvider<P extends PaymentSummary>This particular implementation ofPaymentProvideris designed to interact with the payment transaction service.Methods in com.broadleafcommerce.cartoperation.service.provider.external.payments that return PaymentSummary Modifier and Type Method Description PaymentSummaryExternalPaymentProvider. patchPayment(UpdatePaymentRequest updatePaymentRequest, Integer version, String lockToken, com.broadleafcommerce.data.tracking.core.context.ContextInfo context) -
Uses of PaymentSummary in com.broadleafcommerce.cartoperation.web.endpoint.domain.checkout
Methods in com.broadleafcommerce.cartoperation.web.endpoint.domain.checkout that return types with arguments of type PaymentSummary Modifier and Type Method Description List<PaymentSummary>CheckoutResponse. getPaymentSummaries()A collection ofPaymentSummariesrelated to theCart.Method parameters in com.broadleafcommerce.cartoperation.web.endpoint.domain.checkout with type arguments of type PaymentSummary Modifier and Type Method Description voidCheckoutResponse. setPaymentSummaries(List<PaymentSummary> paymentSummaries)A collection ofPaymentSummariesrelated to theCart.
-