Uses of Class
com.broadleafcommerce.promotion.offer.domain.VoucherCodeGenerationRequest
Package
Description
-
Uses of VoucherCodeGenerationRequest in com.broadleafcommerce.promotion.offer.service
Modifier and TypeMethodDescriptionCodeGenerationService.generateCodesForVouchers
(VoucherCodeGenerationRequest voucherCodeGenerationReq, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Returns theCodeGenerationResult
containing generated and/or existingOfferCodes
for voucher offers based on the givenVoucherCodeGenerationRequest
.DefaultCodeGenerationService.generateCodesForVouchers
(VoucherCodeGenerationRequest voucherCodeGenerationReq, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected CodeGenerationResult
DefaultCodeGenerationService.generateOrUseAvailableCodes
(VoucherCodeGenerationRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Returns aCodeGenerationResult
containing a list of generated and/or existingoffer codes
based on the givenVoucherCodeGenerationRequest
.protected CodeGenerationResult
DefaultCodeGenerationService.generateVoucherCodes
(VoucherCodeGenerationRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Delegates toDefaultCodeGenerationService.generateOrUseAvailableCodes(VoucherCodeGenerationRequest, ContextInfo)
to get aCodeGenerationResult
, then updatesCodeGenerationResult.getGeneratedCodes()
based ongetCodeGenerator()
. -
Uses of VoucherCodeGenerationRequest in com.broadleafcommerce.promotion.offer.web.endpoint
Modifier and TypeMethodDescriptionCampaignEndpoint.generateCodesForVouchers
(jakarta.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, VoucherCodeGenerationRequest voucherCodeGenerationReq) GenerateOfferCodes
based on the givenVoucherCodeGenerationRequest
.