Uses of Class
com.broadleafcommerce.paymenttransaction.domain.CustomerRef
Package
Description
-
Uses of CustomerRef in com.broadleafcommerce.paymenttransaction.domain
Modifier and TypeMethodDescriptionvoid
Payment.setCustomerRef
(CustomerRef customerRef) Deprecated.since 1.0.2, usePayment.getOwningUserType()
andPayment.getOwningUserId()
instead -
Uses of CustomerRef in com.broadleafcommerce.paymenttransaction.service
Modifier and TypeMethodDescriptionprotected P
DefaultPaymentManagementService.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 aPayment
based on the providedCreatePaymentRequest
.protected P
DefaultPaymentManagementService.populatePaymentFromRequest
(P payment, @NonNull CreatePaymentRequest createPaymentRequest, CustomerRef customerRef, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected P
DefaultPaymentManagementService.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 void
DefaultPaymentManagementService.populatePaymentOwningUser
(P payment, @NonNull CreatePaymentRequest createPaymentRequest, CustomerRef customerRef) Populates the properties describing the owning user of the givenPayment
. -
Uses of CustomerRef in com.broadleafcommerce.paymenttransaction.service.anonymization
Modifier and TypeMethodDescriptionprotected List<com.broadleafcommerce.common.privacy.anonymization.AnonymizationRecord>
AbstractAnonymizationHandler.process
(@NonNull String boundedContextIdentifier, CustomerRef customerRef, @NonNull String type, @NonNull String fieldName) Process aCustomerRef
instance -
Uses of CustomerRef in com.broadleafcommerce.paymenttransaction.service.provider.external.domain
Modifier and TypeMethodDescriptionPaymentAccountSummary.getCustomerRef()
Deprecated, for removal: This API element is subject to removal in a future version.The customer associated with this payment account.Modifier and TypeMethodDescriptionvoid
PaymentAccountSummary.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
Modifier and TypeMethodDescriptionprotected boolean
DefaultPaymentAccessValidationService.customerMatches
(@NonNull Payment payment, @NonNull CustomerRef customer) Validates if the owning user of thePayment
matches the givenCustomerRef
.protected boolean
DefaultPaymentAccessValidationService.validateAccessForAnonymousOwnedPayment
(@NonNull Payment payment, @NonNull CustomerRef customerRef) Validates access for anonymous ownedPayment
for the givenCustomerRef
, which checks against thePayment.getOwningUserEmailAddress()
andgetUsername()
by default.void
DefaultPaymentAccessValidationService.validateCustomerPaymentRequest
(@NonNull Payment payment, @NonNull CustomerRef customerRef, String lockToken, com.broadleafcommerce.data.tracking.core.context.ContextInfo context) void
PaymentAccessValidationService.validateCustomerPaymentRequest
(@NonNull Payment payment, @NonNull CustomerRef customerRef, String lockToken, com.broadleafcommerce.data.tracking.core.context.ContextInfo context) Validates access to the payment based on the passed in contextprotected void
DefaultPaymentAccessValidationService.validatePaymentCustomerRef
(@NonNull Payment payment, @NonNull CustomerRef customerRef, String lockToken, com.broadleafcommerce.data.tracking.core.context.ContextInfo context) void
DefaultSavedPaymentMethodAccessValidationService.validateSavedPaymentMethodOwnership
(@NonNull String savedPaymentId, @NonNull CustomerRef customerRef, com.broadleafcommerce.data.tracking.core.context.ContextInfo context) void
SavedPaymentMethodAccessValidationService.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
Modifier and TypeMethodDescriptionvoid
AccountPaymentManagementEndpoint.archivePayment
(jakarta.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, String paymentId, Integer paymentVersion, CustomerRef customerRef) void
CustomerPaymentManagementEndpoint.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 boolean
CustomerPaymentManagementEndpoint.validateCustomerPaymentRequest
(@NonNull Payment payment, @NonNull CustomerRef customerRef, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Validates the givenCustomerRef
's access to the givenPayment
.protected boolean
AccountPaymentManagementEndpoint.validatePaymentAccess
(@NonNull Payment payment, @NonNull CustomerRef customerRef, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Validates the givenCustomerRef
's access to the givenPayment
.protected void
AccountPaymentManagementEndpoint.validateSavedPaymentMethodIfNecessary
(@NonNull CreatePaymentRequest req, @NonNull CustomerRef customerRef, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Validates the saved payment method ownership for the givenCreatePaymentRequest
andCustomerRef
if the saved payment method id is specified.protected void
AccountPaymentManagementEndpoint.validateSavedPaymentMethodIfNecessary
(@NonNull UpdatePaymentRequest req, @NonNull CustomerRef customerRef, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Validates the saved payment method ownership for the givenUpdatePaymentRequest
andCustomerRef
if the saved payment method id is specified.protected void
CustomerPaymentManagementEndpoint.validateSavedPaymentMethodIfNecessary
(@NonNull CreatePaymentRequest req, @NonNull CustomerRef customerRef, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Validates the saved payment method ownership for the givenCreatePaymentRequest
andCustomerRef
if the saved payment method id is specified.protected void
CustomerPaymentManagementEndpoint.validateSavedPaymentMethodIfNecessary
(@NonNull UpdatePaymentRequest req, @NonNull CustomerRef customerRef, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Validates the saved payment method ownership for the givenUpdatePaymentRequest
andCustomerRef
if the saved payment method id is specified.
Payment.getOwningUserType()
andPayment.getOwningUserId()
instead