Uses of Class
com.broadleafcommerce.paymenttransaction.domain.CustomerRef
Packages that use CustomerRef
Package
Description
-
Uses of CustomerRef in com.broadleafcommerce.paymenttransaction.domain
Methods in com.broadleafcommerce.paymenttransaction.domain that return CustomerRefMethods in com.broadleafcommerce.paymenttransaction.domain with parameters of type CustomerRefModifier and TypeMethodDescriptionvoidPayment.setCustomerRef(CustomerRef customerRef) Deprecated.since 1.0.2, usePayment.getOwningUserType()andPayment.getOwningUserId()instead -
Uses of CustomerRef in com.broadleafcommerce.paymenttransaction.service
Methods in com.broadleafcommerce.paymenttransaction.service with parameters of type CustomerRefModifier and TypeMethodDescriptionprotected voidDefaultPaymentManagementService.archiveExistingPaymentsIfNeeded(@NonNull CreatePaymentRequest createPaymentRequest, CustomerRef customerRef, com.broadleafcommerce.data.tracking.core.context.ContextInfo context) Archives the owning entity's existing payments if theCreatePaymentRequest.isShouldArchiveExistingPayments()is "true" andDefaultPaymentManagementService.shouldArchiveExistingPayment(P, com.broadleafcommerce.paymenttransaction.web.endpoint.domain.CreatePaymentRequest, com.broadleafcommerce.paymenttransaction.domain.CustomerRef, com.broadleafcommerce.data.tracking.core.context.ContextInfo)returns true.protected PDefaultPaymentManagementService.buildPayment(@NonNull CreatePaymentRequest createPaymentRequest, CustomerRef customerRef, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) DefaultPaymentManagementService.createPayment(@NonNull CreatePaymentRequest createPaymentRequest, CustomerRef customerRef, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) PaymentManagementService.createPayment(CreatePaymentRequest createPaymentRequest, CustomerRef customerRef, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Creates aPaymentbased on the providedCreatePaymentRequest.protected PDefaultPaymentManagementService.populatePaymentFromRequest(P payment, @NonNull CreatePaymentRequest createPaymentRequest, CustomerRef customerRef, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected PDefaultPaymentManagementService.populatePaymentFromSavedPayment(P payment, @NonNull CreatePaymentRequest createPaymentRequest, CustomerRef customerRef, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Deprecated, for removal: This API element is subject to removal in a future version.protected voidDefaultPaymentManagementService.populatePaymentOwningUser(P payment, @NonNull CreatePaymentRequest createPaymentRequest, CustomerRef customerRef) Populates the properties describing the owning user of the givenPayment.protected booleanDefaultPaymentManagementService.shouldArchiveExistingPayment(P payment, @NonNull CreatePaymentRequest createPaymentRequest, CustomerRef customerRef, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Declares if the existingPaymentshould be archived based onCreatePaymentRequest.isShouldArchiveExistingPayments()&CreatePaymentRequest.getGatewayTypesToArchive(), as well as mutability validations. -
Uses of CustomerRef in com.broadleafcommerce.paymenttransaction.service.anonymization
Methods in com.broadleafcommerce.paymenttransaction.service.anonymization with parameters of type CustomerRefModifier and TypeMethodDescriptionprotected List<com.broadleafcommerce.common.privacy.anonymization.AnonymizationRecord>AbstractAnonymizationHandler.process(@NonNull String boundedContextIdentifier, CustomerRef customerRef, @NonNull String type, @NonNull String fieldName) Process aCustomerRefinstance -
Uses of CustomerRef in com.broadleafcommerce.paymenttransaction.service.messaging.checkoutcompletion
Methods in com.broadleafcommerce.paymenttransaction.service.messaging.checkoutcompletion that return CustomerRefModifier and TypeMethodDescriptionprotected CustomerRefPaymentCheckoutCompletionListener.getCustomerRef(com.jayway.jsonpath.DocumentContext jsonContext) PaymentPostCheckoutCompletionEvent.getCustomerRef()The reference to the customer who owns the cart and payments of this event.Methods in com.broadleafcommerce.paymenttransaction.service.messaging.checkoutcompletion with parameters of type CustomerRefModifier and TypeMethodDescriptionvoidPaymentPostCheckoutCompletionEvent.setCustomerRef(CustomerRef customerRef) The reference to the customer who owns the cart and payments of this event. -
Uses of CustomerRef in com.broadleafcommerce.paymenttransaction.service.provider.external.domain
Methods in com.broadleafcommerce.paymenttransaction.service.provider.external.domain that return CustomerRefModifier and TypeMethodDescriptionPaymentAccountSummary.getCustomerRef()Deprecated, for removal: This API element is subject to removal in a future version.The customer associated with this payment account.Methods in com.broadleafcommerce.paymenttransaction.service.provider.external.domain with parameters of type CustomerRefModifier and TypeMethodDescriptionvoidPaymentAccountSummary.setCustomerRef(CustomerRef customerRef) Deprecated, for removal: This API element is subject to removal in a future version.The customer associated with this payment account. -
Uses of CustomerRef in com.broadleafcommerce.paymenttransaction.service.validation
Methods in com.broadleafcommerce.paymenttransaction.service.validation with parameters of type CustomerRefModifier and TypeMethodDescriptionprotected booleanDefaultPaymentAccessValidationService.customerMatches(@NonNull Payment payment, @NonNull CustomerRef customer) Validates if the owning user of thePaymentmatches the givenCustomerRef.booleanDefaultPaymentAccessValidationService.shouldAllowExistingPaymentArchival(@NonNull CreatePaymentRequest createPaymentRequest, CustomerRef customerRef, @NonNull Payment existingPayment, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) default booleanPaymentAccessValidationService.shouldAllowExistingPaymentArchival(CreatePaymentRequest createPaymentRequest, CustomerRef customerRef, Payment existingPayment, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) WhenCreatePaymentRequest.isShouldArchiveExistingPayments()is set to true, this method can be called to verify whether a found candidate existing payment can be archived.protected booleanDefaultPaymentAccessValidationService.shouldSkipPaymentTTLValidation(@NonNull Payment payment, @NonNull CustomerRef customerRef, com.broadleafcommerce.data.tracking.core.context.ContextInfo context) protected booleanDefaultPaymentAccessValidationService.validateAccessForAnonymousOwnedPayment(@NonNull Payment payment, @NonNull CustomerRef customerRef) Validates access for anonymous ownedPaymentfor the givenCustomerRef, which checks against thePayment.getOwningUserEmailAddress()andgetUsername()by default.voidDefaultPaymentAccessValidationService.validateCustomerPaymentRequest(@NonNull Payment payment, @NonNull CustomerRef customerRef, @NonNull UpdatePaymentRequest updatePaymentRequest, String lockToken, com.broadleafcommerce.data.tracking.core.context.ContextInfo context) voidDefaultPaymentAccessValidationService.validateCustomerPaymentRequest(@NonNull Payment payment, @NonNull CustomerRef customerRef, String lockToken, com.broadleafcommerce.data.tracking.core.context.ContextInfo context) default voidPaymentAccessValidationService.validateCustomerPaymentRequest(Payment payment, CustomerRef customerRef, UpdatePaymentRequest updatePaymentRequest, String lockToken, com.broadleafcommerce.data.tracking.core.context.ContextInfo context) Validates access to the payment based on the passed in context.voidPaymentAccessValidationService.validateCustomerPaymentRequest(Payment payment, CustomerRef customerRef, String lockToken, com.broadleafcommerce.data.tracking.core.context.ContextInfo context) Validates access to the payment based on the passed in contextprotected voidDefaultPaymentAccessValidationService.validatePaymentCustomerRef(@NonNull Payment payment, @NonNull CustomerRef customerRef, String lockToken, com.broadleafcommerce.data.tracking.core.context.ContextInfo context) voidDefaultSavedPaymentMethodAccessValidationService.validateSavedPaymentMethodOwnership(@NonNull String savedPaymentId, @NonNull CustomerRef customerRef, com.broadleafcommerce.data.tracking.core.context.ContextInfo context) voidSavedPaymentMethodAccessValidationService.validateSavedPaymentMethodOwnership(@NonNull String savedPaymentId, @NonNull CustomerRef customerRef, com.broadleafcommerce.data.tracking.core.context.ContextInfo context) Validates access to the saved payment method based on the passed in context. -
Uses of CustomerRef in com.broadleafcommerce.paymenttransaction.web.endpoint
Methods in com.broadleafcommerce.paymenttransaction.web.endpoint with parameters of type CustomerRefModifier and TypeMethodDescriptionvoidAccountPaymentManagementEndpoint.archivePayment(jakarta.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, String paymentId, Integer paymentVersion, CustomerRef customerRef) voidCustomerPaymentManagementEndpoint.archivePayment(jakarta.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, String paymentId, Integer paymentVersion, CustomerRef customerRef) AccountPaymentManagementEndpoint.createPayment(jakarta.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, CreatePaymentRequest createPaymentRequest, CustomerRef customerRef) CustomerPaymentManagementEndpoint.createPayment(jakarta.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, CreatePaymentRequest createPaymentRequest, CustomerRef customerRef) CustomerSavedPaymentMethodManagementEndpoint.createSavedPaymentMethod(String customerId, CreateSavedPaymentMethodRequest createRequest, CustomerRef customerRef, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) org.springframework.data.domain.Page<PaymentSummary>AccountPaymentManagementEndpoint.readAllPaymentsForOwner(com.broadleafcommerce.data.tracking.core.context.ContextInfo context, String ownerType, String ownerId, CustomerRef customerRef, org.springframework.data.domain.Pageable page) org.springframework.data.domain.Page<PaymentSummary>CustomerPaymentManagementEndpoint.readAllPaymentsForOwner(com.broadleafcommerce.data.tracking.core.context.ContextInfo context, String ownerType, String ownerId, CustomerRef customerRef, org.springframework.data.domain.Pageable page) TransactionExecutionEndpoint.recordTransactionResults(String paymentId, Map<String, Object> transactionResults, Integer paymentVersion, CustomerRef customerRef, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) org.springframework.http.ResponseEntity<PaymentSummary>AccountPaymentManagementEndpoint.updatePayment(jakarta.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, String paymentId, UpdatePaymentRequest req, Integer paymentVersion, CustomerRef customerRef) org.springframework.http.ResponseEntity<PaymentSummary>CustomerPaymentManagementEndpoint.updatePayment(jakarta.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, String paymentId, UpdatePaymentRequest req, Integer paymentVersion, CustomerRef customerRef) protected org.springframework.data.domain.Page<Payment>AccountPaymentManagementEndpoint.validateAccountPaymentReadAllRequest(@NonNull org.springframework.data.domain.Page<Payment> payments, @NonNull CustomerRef customerRef, @NonNull org.springframework.data.domain.Pageable page, com.broadleafcommerce.data.tracking.core.context.ContextInfo context) protected org.springframework.data.domain.Page<Payment>CustomerPaymentManagementEndpoint.validateCustomerPaymentReadAllRequest(@NonNull org.springframework.data.domain.Page<Payment> payments, @NonNull CustomerRef customerRef, @NonNull org.springframework.data.domain.Pageable page, com.broadleafcommerce.data.tracking.core.context.ContextInfo context) protected booleanCustomerPaymentManagementEndpoint.validateCustomerPaymentRequest(@NonNull Payment payment, @NonNull CustomerRef customerRef, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Validates the givenCustomerRef's access to the givenPayment.protected booleanAccountPaymentManagementEndpoint.validatePaymentAccess(@NonNull Payment payment, @NonNull CustomerRef customerRef, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Validates the givenCustomerRef's access to the givenPayment.protected voidAccountPaymentManagementEndpoint.validateSavedPaymentMethodIfNecessary(@NonNull CreatePaymentRequest req, @NonNull CustomerRef customerRef, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Validates the saved payment method ownership for the givenCreatePaymentRequestandCustomerRefif the saved payment method id is specified.protected voidAccountPaymentManagementEndpoint.validateSavedPaymentMethodIfNecessary(@NonNull UpdatePaymentRequest req, @NonNull CustomerRef customerRef, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Validates the saved payment method ownership for the givenUpdatePaymentRequestandCustomerRefif the saved payment method id is specified.protected voidCustomerPaymentManagementEndpoint.validateSavedPaymentMethodIfNecessary(@NonNull CreatePaymentRequest req, @NonNull CustomerRef customerRef, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Validates the saved payment method ownership for the givenCreatePaymentRequestandCustomerRefif the saved payment method id is specified.protected voidCustomerPaymentManagementEndpoint.validateSavedPaymentMethodIfNecessary(@NonNull UpdatePaymentRequest req, @NonNull CustomerRef customerRef, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Validates the saved payment method ownership for the givenUpdatePaymentRequestandCustomerRefif the saved payment method id is specified.
Payment.getOwningUserType()andPayment.getOwningUserId()instead