Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AbstractValidationRedeemableDto - Class in org.bhn.promotion.voucherify.model.common
-
Base model containing common fields for validation redeemable responses.
- AbstractValidationRedeemableDto() - Constructor for class org.bhn.promotion.voucherify.model.common.AbstractValidationRedeemableDto
- addPromotionTiersToCampaign(String, PromotionsTiersCreateRequestBody) - Method in class org.bhn.promotion.voucherify.engine.VoucherifyClient
-
Creates promotion tiers and adds them to a specific campaign.
- addPromotionTierToCampaign(String, PromotionsTiersCreateRequestBody) - Method in class org.bhn.promotion.voucherify.engine.VoucherifyClient
-
This method invokes voucherify api and Adds Promotion Tier to campaign
- addPromotionToCampaign(String, PromotionTierModel) - Method in class org.bhn.promotion.voucherify.service.VoucherifyPromotionTierService
-
This method invokes voucherify api and Adds Promotion Tier to campaign
- Address - Class in org.bhn.promotion.core.model.pricing
-
Represents an address entity used in pricing, order, or other related models.
- Address() - Constructor for class org.bhn.promotion.core.model.pricing.Address
- ALL - Enum constant in enum class org.bhn.promotion.voucherify.enums.EligibilityScenarioEnum
- ALREADY_ROLLED_BACK - Enum constant in enum class org.bhn.promotion.voucherify.exception.ApiErrorDetails
- AMBIGUOUS_TRACKING_ID - Enum constant in enum class org.bhn.promotion.voucherify.exception.ApiErrorDetails
- AMOUNT - Enum constant in enum class org.bhn.promotion.core.enums.PromotionMetaDataKey
- AMOUNT - Enum constant in enum class org.bhn.promotion.voucherify.enums.DiscountTypeEnum
- AndorCommerceInnerProduct() - Constructor for class org.bhn.promotion.core.model.andor.AndorCommerceProductResponse.AndorCommerceInnerProduct
- AndorCommerceProduct() - Constructor for class org.bhn.promotion.core.model.andor.AndorCommerceProductResponse.AndorCommerceProduct
- AndorCommerceProductInnerData() - Constructor for class org.bhn.promotion.core.model.andor.AndorCommerceProductResponse.AndorCommerceProductInnerData
- AndorCommerceProductResponse - Class in org.bhn.promotion.core.model.andor
-
Represents the response structure for product-related data from the Andor Commerce system.
- AndorCommerceProductResponse() - Constructor for class org.bhn.promotion.core.model.andor.AndorCommerceProductResponse
- AndorCommerceProductResponse.AndorCommerceInnerProduct - Class in org.bhn.promotion.core.model.andor
-
Represents the product details in the response, including a list of individual products.
- AndorCommerceProductResponse.AndorCommerceProduct - Class in org.bhn.promotion.core.model.andor
-
Represents an individual product in the response, including its SKU, name, and variants.
- AndorCommerceProductResponse.AndorCommerceProductInnerData - Class in org.bhn.promotion.core.model.andor
-
Represents the inner data structure within the product response.
- AndorCommerceProductResponse.ProductVariant - Class in org.bhn.promotion.core.model.andor
-
Represents the product details of a specific variant.
- AndorCommerceProductResponse.Variant - Class in org.bhn.promotion.core.model.andor
-
Represents a variant of a product in the response.
- API - Enum constant in enum class org.bhn.promotion.voucherify.enums.ChannelTypeEnum
- API_ERROR - Enum constant in enum class org.bhn.promotion.voucherify.exception.ApiErrorDetails
- apiClient() - Method in class org.bhn.promotion.voucherify.config.VoucherifyConfiguration
-
Provides a configured ApiClient instance for interacting with the Voucherify API.
- ApiErrorDetails - Enum Class in org.bhn.promotion.voucherify.exception
-
This class contains details of Error as returned from Voucherify.
- ApiErrorDetailsDto - Class in org.bhn.promotion.voucherify.model.common
-
Represents detailed error information.
- ApiErrorDetailsDto() - Constructor for class org.bhn.promotion.voucherify.model.common.ApiErrorDetailsDto
- ApiErrorDto - Class in org.bhn.promotion.voucherify.model.common
-
Represents an error response from the API.
- ApiErrorDto() - Constructor for class org.bhn.promotion.voucherify.model.common.ApiErrorDto
- APPLICABLE - Enum constant in enum class org.bhn.promotion.voucherify.enums.ValidationStatusEnum
- APPLICABLE_EXCLUSIVE_REDEEMABLES_LIMIT_EXCEEDED - Enum constant in enum class org.bhn.promotion.voucherify.exception.ApiErrorDetails
- APPLICABLE_EXCLUSIVE_REDEEMABLES_PER_CATEGORY_LIMIT_EXCEEDED - Enum constant in enum class org.bhn.promotion.voucherify.exception.ApiErrorDetails
- APPLICABLE_REDEEMABLES_LIMIT_EXCEEDED - Enum constant in enum class org.bhn.promotion.voucherify.exception.ApiErrorDetails
- APPLICABLE_REDEEMABLES_PER_CATEGORY_LIMIT_EXCEEDED - Enum constant in enum class org.bhn.promotion.voucherify.exception.ApiErrorDetails
- ApplicableItemDto - Class in org.bhn.promotion.voucherify.model.common
-
Represents items or products to which a discount is applicable.
- ApplicableItemDto() - Constructor for class org.bhn.promotion.voucherify.model.common.ApplicableItemDto
- ApplicableItemResultDto - Class in org.bhn.promotion.voucherify.model.common
-
Result list containing items to which a discount is applicable.
- ApplicableItemResultDto() - Constructor for class org.bhn.promotion.voucherify.model.common.ApplicableItemResultDto
- ApplicableObjectEnum - Enum Class in org.bhn.promotion.voucherify.enums
-
Enum representing the object types to which a promotion or discount can be applied.
- ApplicablePromoModel - Class in org.bhn.promotion.core.model.promotions
-
Represents a model that can be applied to a list of items.
- ApplicablePromoModel() - Constructor for class org.bhn.promotion.core.model.promotions.ApplicablePromoModel
- ApplicableToEffect - Enum Class in org.bhn.promotion.voucherify.enums
-
Enum defining how a promotion is applied across eligible items.
- AppliedOnModel - Class in org.bhn.promotion.core.model.promotions
-
Represents an item on which a promotion has been applied.
- AppliedOnModel() - Constructor for class org.bhn.promotion.core.model.promotions.AppliedOnModel
- AppliedPromoModel - Class in org.bhn.promotion.core.model.promotions
-
This model contains information about the promotion, its application status, the items to which it was applied, those it was not applied to, and any errors encountered during the application process.
- AppliedPromoModel() - Constructor for class org.bhn.promotion.core.model.promotions.AppliedPromoModel
- APPLY_FROM_MOST_EXPENSIVE - Enum constant in enum class org.bhn.promotion.voucherify.enums.ApplicableToEffect
- APPLY_TO_CHEAPEST - Enum constant in enum class org.bhn.promotion.voucherify.enums.ApplicableToEffect
- APPLY_TO_EVERY - Enum constant in enum class org.bhn.promotion.voucherify.enums.ApplicableToEffect
- APPLY_TO_ITEMS - Enum constant in enum class org.bhn.promotion.voucherify.enums.DiscountEffectEnum
- APPLY_TO_ITEMS - Static variable in class org.bhn.promotion.core.constants.ValidationConstants
- APPLY_TO_ORDER - Enum constant in enum class org.bhn.promotion.voucherify.enums.DiscountEffectEnum
- ASSIGNMENT_ID - Static variable in class org.bhn.promotion.voucherify.constants.VoucherifyFieldNameConstants
- assignUser(String, ManagementProjectsUsersAssignRequestBody) - Method in class org.bhn.promotion.voucherify.engine.VoucherifyClient
-
This method invokes the Voucherify Management API to assign a user to a project.
- AUDIENCE_ONLY - Enum constant in enum class org.bhn.promotion.voucherify.enums.EligibilityScenarioEnum
- AWSSqsMessageService - Class in org.bhn.promotion.core.service
- AWSSqsMessageService() - Constructor for class org.bhn.promotion.core.service.AWSSqsMessageService
B
- BaseModel() - Constructor for class org.bhn.promotion.voucherify.model.WebhookRequest.WebhookModel.BaseModel
- BaseOrderItem - Class in org.bhn.promotion.core.model.pricing
-
Represents an item in an order within the pricing model.
- BaseOrderItem() - Constructor for class org.bhn.promotion.core.model.pricing.BaseOrderItem
- BaseSummary - Class in org.bhn.promotion.core.model.pricing
-
Represents a summary of a value, including its associated currency.
- BaseSummary() - Constructor for class org.bhn.promotion.core.model.pricing.BaseSummary
- BaseTotalDetails - Class in org.bhn.promotion.core.model.pricing
-
Represents the total details of a transaction, including quantities and monetary summaries.
- BaseTotalDetails() - Constructor for class org.bhn.promotion.core.model.pricing.BaseTotalDetails
- BEST_DEAL - Enum constant in enum class org.bhn.promotion.voucherify.enums.EligibilitySortingRuleEnum
- BETWEEN - Static variable in class org.bhn.promotion.core.constants.ValidationConstants
- BHN_FUNDING_PERCENTAGE - Enum constant in enum class org.bhn.promotion.core.enums.PromotionMetaDataKey
- BHNConfiguration - Class in org.bhn.promotion.bhn.config
-
The class contains BHN configuration.
- BHNConfiguration() - Constructor for class org.bhn.promotion.bhn.config.BHNConfiguration
- BHNPromotionEngine - Class in org.bhn.promotion.bhn.engine
-
BHNPromotionEngine implementation
- BHNPromotionEngine() - Constructor for class org.bhn.promotion.bhn.engine.BHNPromotionEngine
- BHNPromotionOperation - Class in org.bhn.promotion.bhn.operation
-
BHNPromotionOperation implementation.
- BHNPromotionOperation() - Constructor for class org.bhn.promotion.bhn.operation.BHNPromotionOperation
- BHNPromotionProductService - Class in org.bhn.promotion.bhn.service
-
Implementation of the
PromotionProductServiceinterface that provides functionality to manage products and product SKUs within the BHN promotion service. - BHNPromotionProductService() - Constructor for class org.bhn.promotion.bhn.service.BHNPromotionProductService
- BHNPromotionWebhookService - Class in org.bhn.promotion.bhn.service
-
Implementation of the
PromotionWebhookServiceinterface for handling webhooks in the BHN promotion system. - BHNPromotionWebhookService() - Constructor for class org.bhn.promotion.bhn.service.BHNPromotionWebhookService
- BUDGET_OVERDRAFT_CONFIG - Enum constant in enum class org.bhn.promotion.core.enums.PromotionMetaDataKey
- BUDGET_UPDATED_BY - Enum constant in enum class org.bhn.promotion.core.enums.PromotionMetaDataKey
- BudgetOverdraftConfig - Class in org.bhn.promotion.voucherify.model.metadata
-
Configuration for budget overdraft settings.
- BudgetOverdraftConfig() - Constructor for class org.bhn.promotion.voucherify.model.metadata.BudgetOverdraftConfig
- BudgetUpdatedBy - Enum Class in org.bhn.promotion.voucherify.enums
-
Enum representing who updated the budget.
- bulkProductDelete(List<PMSProductModel>) - Method in class org.bhn.promotion.bhn.service.BHNPromotionProductService
- bulkProductDelete(List<PMSProductModel>) - Method in interface org.bhn.promotion.core.service.PromotionProductService
-
Deletes multiple products in bulk.
- bulkProductDelete(List<PMSProductModel>) - Method in class org.bhn.promotion.voucherify.service.VoucherifyPromotionProductService
- BUNDLE_ORDER_RULES_VIOLATED - Enum constant in enum class org.bhn.promotion.voucherify.exception.ApiErrorDetails
- BUNDLE_RULES_VIOLATED - Enum constant in enum class org.bhn.promotion.voucherify.exception.ApiErrorDetails
- BusValRuleAssignmentModel - Class in org.bhn.promotion.core.model.campaign
-
Represents the assignment of a validation rule to a specific object in the campaign.
- BusValRuleAssignmentModel() - Constructor for class org.bhn.promotion.core.model.campaign.BusValRuleAssignmentModel
C
- CalculatedOrderItemDto - Class in org.bhn.promotion.voucherify.model.common
-
Represents a calculated item in an order.
- CalculatedOrderItemDto() - Constructor for class org.bhn.promotion.voucherify.model.common.CalculatedOrderItemDto
- CalculatedOrderItemProductDto - Class in org.bhn.promotion.voucherify.model.common
-
Represents a product in a calculated order item.
- CalculatedOrderItemProductDto() - Constructor for class org.bhn.promotion.voucherify.model.common.CalculatedOrderItemProductDto
- callGraphQL(String, String) - Method in class org.bhn.promotion.core.proxy.NewUserGraphQLProxy
-
Makes a GraphQL POST request to fetch user data.
- CAMPAIGN - Enum constant in enum class org.bhn.promotion.voucherify.enums.RedeemableObjectEnum
- CAMPAIGN_ID - Static variable in class org.bhn.promotion.voucherify.constants.VoucherifyFieldNameConstants
- CampaignModel - Class in org.bhn.promotion.core.model.campaign
-
Represents a promotional campaign within the system.
- CampaignModel() - Constructor for class org.bhn.promotion.core.model.campaign.CampaignModel
- campaignsApi() - Method in class org.bhn.promotion.voucherify.config.VoucherifyConfiguration
-
Creates a CampaignsApi instance for managing campaigns in Voucherify.
- CANCELED - Enum constant in enum class org.bhn.promotion.voucherify.enums.OrderStatusEnum
- CARD_TYPE - Enum constant in enum class org.bhn.promotion.core.enums.PromotionMetaDataKey
- CART_TYPE - Enum constant in enum class org.bhn.promotion.core.enums.PromotionMetaDataKey
- Category() - Constructor for class org.bhn.promotion.voucherify.model.RedeemPromotionResponseDto.Category
- Category() - Constructor for class org.bhn.promotion.voucherify.model.RedemptionRollbackResponseDto.Category
- CATEGORY - Enum constant in enum class org.bhn.promotion.core.enums.PromotionMetaDataKey
- CATEGORY - Enum constant in enum class org.bhn.promotion.voucherify.enums.ExpandEnum
- CATEGORY - Enum constant in enum class org.bhn.promotion.voucherify.enums.ObjectTypeEnum
- CategoryMapper - Interface in org.bhn.promotion.voucherify.mapper
-
Mapper interface for converting between Voucherify's
Categoryand the core modelCategoryModel. - CategoryModel - Class in org.bhn.promotion.core.model.campaign
-
Represents a category within the campaign management system.
- CategoryModel() - Constructor for class org.bhn.promotion.core.model.campaign.CategoryModel
- ChannelTypeEnum - Enum Class in org.bhn.promotion.voucherify.enums
-
Enum representing channel types.
- checkCPFundedPromotion(Object) - Static method in class org.bhn.promotion.voucherify.utils.VoucherifyUtil
-
Retrieves the promotion funded by content partner or not from the provided metadata.
- checkEligibility(CheckPromotionEligibilityRequestDto) - Method in class org.bhn.promotion.voucherify.clients.VoucherifyApiClient
-
Checks eligibility via Voucherify API.
- checkEligibility(CheckPromotionEligibilityRequestDto) - Method in class org.bhn.promotion.voucherify.engine.VoucherifyClient
-
This method invokes voucherify api and Checks promotion eligibility with retry mechanism
- checkPromoSummaryParity(BigDecimal, PromoSummary, PromoSummary) - Static method in class org.bhn.promotion.core.utils.PromotionUtil
-
Compare Promotion amounts for Parity check
- CheckPromotionEligibilityRequestDto - Class in org.bhn.promotion.voucherify.model
-
Represents the request body for Voucherify qualification eligibility checks, including customer, order, scenario, and filtering/sorting options.
- CheckPromotionEligibilityRequestDto() - Constructor for class org.bhn.promotion.voucherify.model.CheckPromotionEligibilityRequestDto
- CheckPromotionEligibilityRequestDto.QualificationsFieldConditions - Class in org.bhn.promotion.voucherify.model
- CheckPromotionEligibilityRequestDto.QualificationsFiltersCondition - Class in org.bhn.promotion.voucherify.model
- CheckPromotionEligibilityRequestDto.QualificationsOption - Class in org.bhn.promotion.voucherify.model
- CheckPromotionEligibilityRequestDto.QualificationsOptionFilters - Class in org.bhn.promotion.voucherify.model
- CheckPromotionEligibilityRequestDto.QualificationsOptionFiltersCampaignType - Class in org.bhn.promotion.voucherify.model
- CheckPromotionEligibilityRequestDto.QualificationsOptionFiltersCampaignTypeConditions - Class in org.bhn.promotion.voucherify.model
- CheckPromotionEligibilityResponseDto - Class in org.bhn.promotion.voucherify.model
-
Represents the response body for Voucherify eligibility qualification checks, including redeemables, discount results, applicable/inapplicable items, and detailed order-level calculation data.
- CheckPromotionEligibilityResponseDto() - Constructor for class org.bhn.promotion.voucherify.model.CheckPromotionEligibilityResponseDto
- CheckPromotionEligibilityResponseDto.QualificationsCheckEligibilityResponseBodyOrder - Class in org.bhn.promotion.voucherify.model
- CheckPromotionEligibilityResponseDto.QualificationsCheckEligibilityResponseBodyOrder.QualificationsRedeemableBase - Class in org.bhn.promotion.voucherify.model
- CheckPromotionEligibilityResponseDto.QualificationsCheckEligibilityResponseBodyOrder.QualificationsRedeemableBaseOrder - Class in org.bhn.promotion.voucherify.model
- CheckPromotionEligibilityResponseDto.QualificationsCheckEligibilityResponseBodyOrder.QualificationsRedeemableBaseOrderItemsItem - Class in org.bhn.promotion.voucherify.model
- CheckPromotionEligibilityResponseDto.QualificationsRedeemable - Class in org.bhn.promotion.voucherify.model
- CheckPromotionEligibilityResponseDto.QualificationsRedeemableOrder - Class in org.bhn.promotion.voucherify.model
- CheckPromotionEligibilityResponseDto.QualificationsRedeemableOrderItemsItem - Class in org.bhn.promotion.voucherify.model
- CheckPromotionEligibilityResponseDto.QualificationsRedeemables - Class in org.bhn.promotion.voucherify.model
- CheckPromotionEligibilityResponseDto.RedeemableResult - Class in org.bhn.promotion.voucherify.model
- CHILD_REDEMPTION_ID - Enum constant in enum class org.bhn.promotion.core.enums.ErrorKey
- CITY - Enum constant in enum class org.bhn.promotion.core.enums.PromotionMetaDataKey
- clone(Promo) - Method in interface org.bhn.promotion.core.mapper.PromoMapper
-
Create a copy of the Promo object
- clone(Promo) - Method in class org.bhn.promotion.core.mapper.PromoMapperImpl
- CODE - Static variable in class org.bhn.promotion.voucherify.constants.VoucherifyFieldNameConstants
- COMMA - Static variable in class org.bhn.promotion.core.constants.ValidationConstants
- CommonPromoMetadata - Class in org.bhn.promotion.voucherify.model.metadata
-
Common promotion metadata model used for Voucherify integration.
- CommonPromoMetadata() - Constructor for class org.bhn.promotion.voucherify.model.metadata.CommonPromoMetadata
- COMPLETED_STATUSES - Static variable in class org.bhn.promotion.core.constants.OrderStatusConstants
- ConfigurationFlags - Enum Class in org.bhn.promotion.core.enums
- CONTENT_PARTNER_FUNDING_PERCENTAGE - Enum constant in enum class org.bhn.promotion.core.enums.PromotionMetaDataKey
- ConversionUtil - Class in org.bhn.promotion.core.utils
-
Utility class for safely converting generic
Objectinstances into common numeric types such asDoubleandBigDecimal. - convertCreateValidityDayOfWeekEnum(List<CampaignsCreateResponseBody.ValidityDayOfWeekEnum>) - Method in interface org.bhn.promotion.voucherify.mapper.VoucherifyCampaignMapper
-
Converts a list of ValidityDayOfWeekEnum from a CampaignsCreateResponseBody to a list of strings for the CampaignModel.
- convertCreateValidityDayOfWeekEnum(List<PromotionsTiersCreateResponseBody.ValidityDayOfWeekEnum>) - Method in interface org.bhn.promotion.voucherify.mapper.PromotionTierMapper
-
Converts a list of ValidityDayOfWeekEnum from PromotionsTiersCreateResponseBody to a list of strings.
- convertGetValidityDayOfWeekEnum(List<PromotionsTiersGetResponseBody.ValidityDayOfWeekEnum>) - Method in interface org.bhn.promotion.voucherify.mapper.PromotionTierMapper
-
Converts a list of ValidityDayOfWeekEnum from PromotionsTiersGetResponseBody to a list of strings.
- convertObjectToBigDecimal(Object) - Static method in class org.bhn.promotion.core.utils.ConversionUtil
-
Converts a given
Objectto aBigDecimal. - convertObjectToInteger(Object) - Static method in class org.bhn.promotion.core.utils.ConversionUtil
- convertStringToEnum(String, String, ExportsCreateRequestBody, List<String>, List<String>) - Static method in class org.bhn.promotion.voucherify.utils.VoucherifyMockUtil
-
Converts the export type and sorting parameter name to the corresponding enums and sets them in the provided
ExportsCreateRequestBody. - convertToDecimal(Integer) - Static method in class org.bhn.promotion.core.utils.PromotionUtil
- convertToDecimal(Long) - Static method in class org.bhn.promotion.core.utils.PromotionUtil
- convertToEligibilityRequest(JSONObject) - Method in interface org.bhn.promotion.core.adapter.InputAdapter
-
Convert between input json to an EligibilityRequest object
- convertToEligibilityRequest(JSONObject) - Method in class org.bhn.promotion.core.adapter.PricingServiceInputAdapter
-
Convert between input json to an EligibilityRequest object
- convertToEligibilitySummary(JSONObject) - Method in interface org.bhn.promotion.core.adapter.OutputAdapter
-
Convert between data json to a PromoSummary object
- convertToEligibilitySummary(JSONObject) - Method in class org.bhn.promotion.core.adapter.PricingServiceOutputAdapter
-
Convert between data json to a PromoSummary object
- convertToEvaluationRequest(JSONObject) - Method in interface org.bhn.promotion.core.adapter.InputAdapter
-
Convert between input json to an EvaluationRequest object
- convertToEvaluationRequest(JSONObject) - Method in class org.bhn.promotion.core.adapter.PricingServiceInputAdapter
-
Convert between input json to an EvaluationRequest object
- convertToEvaluationSummary(JSONObject) - Method in interface org.bhn.promotion.core.adapter.OutputAdapter
-
Convert between data json to a PromoSummary object
- convertToEvaluationSummary(JSONObject) - Method in class org.bhn.promotion.core.adapter.PricingServiceOutputAdapter
-
Convert between data json to a PromoSummary object
- convertToRedemptionRequest(JSONObject) - Method in interface org.bhn.promotion.core.adapter.InputAdapter
-
Convert between input json to an RedemptionRequest object
- convertToRedemptionRequest(JSONObject) - Method in class org.bhn.promotion.core.adapter.PricingServiceInputAdapter
-
Convert between input json to an RedemptionRequest object
- convertToRedemptionSummary(JSONObject) - Method in interface org.bhn.promotion.core.adapter.OutputAdapter
-
Convert between data json to a PromoSummary object
- convertToRedemptionSummary(JSONObject) - Method in class org.bhn.promotion.core.adapter.PricingServiceOutputAdapter
-
Convert between data json to a PromoSummary object
- convertUpdateValidityDayOfWeekEnum(List<CampaignsUpdateResponseBody.ValidityDayOfWeekEnum>) - Method in interface org.bhn.promotion.voucherify.mapper.VoucherifyCampaignMapper
-
Converts a list of ValidityDayOfWeekEnum from a CampaignsUpdateResponseBody to a list of strings for the CampaignModel.
- convertUpdateValidityDayOfWeekEnum(List<PromotionsTiersUpdateResponseBody.ValidityDayOfWeekEnum>) - Method in interface org.bhn.promotion.voucherify.mapper.PromotionTierMapper
-
Converts a list of ValidityDayOfWeekEnum from PromotionsTiersUpdateResponseBody to a list of strings.
- convertValidityDayOfWeekEnum(List<CampaignsGetResponseBody.ValidityDayOfWeekEnum>) - Method in interface org.bhn.promotion.voucherify.mapper.VoucherifyCampaignMapper
-
Converts a list of ValidityDayOfWeekEnum from a CampaignsGetResponseBody to a list of strings for the CampaignModel.
- COUNTRY - Enum constant in enum class org.bhn.promotion.core.enums.PromotionMetaDataKey
- createBulkProducts(List<PMSProductModel>) - Method in class org.bhn.promotion.bhn.service.BHNPromotionProductService
-
Creates multiple products in bulk.
- createBulkProducts(List<PMSProductModel>) - Method in interface org.bhn.promotion.core.service.PromotionProductService
-
Creates multiple products in bulk.
- createBulkProducts(List<PMSProductModel>) - Method in class org.bhn.promotion.voucherify.service.VoucherifyPromotionProductService
-
Creates multiple products in bulk by sending requests to Voucherify.
- createBulkVouchers(WebhookRequest) - Method in class org.bhn.promotion.voucherify.service.VoucherifyVoucherService
-
Creates a list of Pimcore promotion models for bulk vouchers associated with a specific campaign.
- createCampaign(CampaignModel) - Method in class org.bhn.promotion.voucherify.service.VoucherifyCampaignService
-
This method invokes voucherify api and Creates campaign
- createCampaign(CampaignsCreateRequestBody) - Method in class org.bhn.promotion.voucherify.engine.VoucherifyClient
-
This method invokes voucherify api and Creates campaign
- CREATED - Enum constant in enum class org.bhn.promotion.voucherify.enums.OrderStatusEnum
- createExport(ExportsCreateRequestBody) - Method in class org.bhn.promotion.voucherify.engine.VoucherifyClient
-
Creates a new export using the provided request body.
- createExport(ExportModel) - Method in interface org.bhn.promotion.core.service.PromotionExportService
-
Creates an export based on the provided
ExportModel. - createExport(ExportModel) - Method in class org.bhn.promotion.voucherify.service.VoucherifyPromotionExportService
-
Creates an export based on the provided
ExportModel. - createOrUpdateBulkProducts(List<PMSProductModel>) - Method in class org.bhn.promotion.bhn.service.BHNPromotionProductService
-
Creates or updates multiple products in bulk.
- createOrUpdateBulkProducts(List<PMSProductModel>) - Method in interface org.bhn.promotion.core.service.PromotionProductService
-
Creates or updates multiple products in bulk.
- createOrUpdateBulkProducts(List<PMSProductModel>) - Method in class org.bhn.promotion.voucherify.service.VoucherifyPromotionProductService
-
Creates and updates multiple products in bulk by sending requests to Voucherify
- createOrUpdateCampaignBudget(WebhookRequest.WebhookModel.BaseModel, PimcorePromotionModel) - Method in class org.bhn.promotion.voucherify.service.VoucherifyCampaignService
-
Create or Updates the campaign budget and processes the associated validation rules.
- createOrUpdateProducts(PMSProductModel) - Method in class org.bhn.promotion.bhn.service.BHNPromotionProductService
-
Creates or updates a single product.
- createOrUpdateProducts(PMSProductModel) - Method in interface org.bhn.promotion.core.service.PromotionProductService
-
Creates or updates a single product.
- createOrUpdateProducts(PMSProductModel) - Method in class org.bhn.promotion.voucherify.service.VoucherifyPromotionProductService
-
Creates Or updates a product in Voucherify.
- createOrUpdatePromotionTier(WebhookRequest.WebhookModel.BaseModel, PimcorePromotionModel) - Method in class org.bhn.promotion.voucherify.service.VoucherifyPromotionTierService
-
Creates or updates a
PimcorePromotionModelbased on the providedWebhookRequest.WebhookModel.BaseModelresponse. - createOrUpdateVoucher(String, PimcorePromotionModel) - Method in class org.bhn.promotion.voucherify.service.VoucherifyVoucherService
-
Creates or updates a
PimcorePromotionModelbased on the providedWebhookRequest.WebhookModel.BaseModelresponse. - createProduct(ProductsCreateRequestBody) - Method in class org.bhn.promotion.voucherify.engine.VoucherifyClient
-
This method invokes voucherify api and Creates Product
- createProduct(PMSProductModel) - Method in class org.bhn.promotion.bhn.service.BHNPromotionProductService
-
Creates a new product in the system.
- createProduct(PMSProductModel) - Method in interface org.bhn.promotion.core.service.PromotionProductService
-
Creates a new product in the system.
- createProduct(PMSProductModel) - Method in class org.bhn.promotion.voucherify.service.VoucherifyPromotionProductService
-
Creates a new product in Voucherify.
- createProductCollection(ProductCollectionsCreateRequestBody) - Method in class org.bhn.promotion.voucherify.engine.VoucherifyClient
-
Creates promotion tiers by invoking the Product Collections API.
- createProductSKU(PMSProductSkuModel) - Method in class org.bhn.promotion.bhn.service.BHNPromotionProductService
-
Creates a new product SKU (Stock Keeping Unit) in the system.
- createProductSKU(PMSProductSkuModel) - Method in interface org.bhn.promotion.core.service.PromotionProductService
-
Creates a new product SKU (Stock Keeping Unit) in the system.
- createProductSKU(PMSProductSkuModel) - Method in class org.bhn.promotion.voucherify.service.VoucherifyPromotionProductService
-
Creates a new SKU for a product in Voucherify.
- createProductWithSKU(PMSProductModel) - Method in class org.bhn.promotion.bhn.service.BHNPromotionProductService
-
Creates a new product along with its associated SKU.
- createProductWithSKU(PMSProductModel) - Method in interface org.bhn.promotion.core.service.PromotionProductService
-
Creates a new product along with its associated SKU.
- createProductWithSKU(PMSProductModel) - Method in class org.bhn.promotion.voucherify.service.VoucherifyPromotionProductService
-
Creates a new product along with its associated SKUs in Voucherify.
- createPromotion(CampaignModel) - Method in class org.bhn.promotion.voucherify.service.VoucherifyCampaignService
-
This method invokes voucherify api and Creates campaign if promotions are not present already
- createSku(String, ProductsSkusCreateRequestBody) - Method in class org.bhn.promotion.voucherify.engine.VoucherifyClient
-
This method invokes voucherify api and Creates Product SKU
- createTokenRequestPayload() - Method in class org.bhn.promotion.iam.token.TokenGenerator
-
Creates the payload for the token request to the IAM service, including the client credentials.
- createValidationRule(ValidationRulesCreateRequestBody) - Method in class org.bhn.promotion.voucherify.engine.VoucherifyClient
-
Creates a new validation rule by calling the underlying validation rules API.
- createValidationRuleAssignment(String, Boolean, ValidationRulesAssignmentsCreateRequestBody) - Method in class org.bhn.promotion.voucherify.engine.VoucherifyClient
-
Creates a new validation rule assignment by calling the underlying validation rules API.
- createVoucher(String, VouchersCreateWithSpecificCodeRequestBody) - Method in class org.bhn.promotion.voucherify.engine.VoucherifyClient
-
This method invokes voucherify api and Creates campaign
- CURRENCY - Enum constant in enum class org.bhn.promotion.core.enums.PromotionMetaDataKey
- CUSTOM_EVENT_RULES_VIOLATED - Enum constant in enum class org.bhn.promotion.voucherify.exception.ApiErrorDetails
- CUSTOMER - Enum constant in enum class org.bhn.promotion.core.enums.PromotionMetaDataKey
- CUSTOMER - Enum constant in enum class org.bhn.promotion.voucherify.enums.ObjectTypeEnum
- CUSTOMER_EMAIL_DOMAIN - Enum constant in enum class org.bhn.promotion.core.enums.PromotionMetaDataKey
- CUSTOMER_RULES_VIOLATED - Enum constant in enum class org.bhn.promotion.voucherify.exception.ApiErrorDetails
- CUSTOMER_WALLET - Enum constant in enum class org.bhn.promotion.voucherify.enums.EligibilityScenarioEnum
- CustomerAddressDto - Class in org.bhn.promotion.voucherify.model.common
-
Represents the address details of a customer.
- CustomerAddressDto() - Constructor for class org.bhn.promotion.voucherify.model.common.CustomerAddressDto
- CustomerDto - Class in org.bhn.promotion.voucherify.model.common
-
Represents customer details used in Voucherify requests and responses.
- CustomerDto() - Constructor for class org.bhn.promotion.voucherify.model.common.CustomerDto
D
- Data() - Constructor for class org.bhn.promotion.core.model.promotions.GraphQLResponse.Data
- DATA - Enum constant in enum class org.bhn.promotion.voucherify.enums.ObjectTypeEnum
- decrypt(String) - Method in class org.bhn.promotion.core.service.EncryptionService
-
Decrypts the provided encrypted text using the specified encryption algorithm.
- DEFAULT - Enum constant in enum class org.bhn.promotion.voucherify.enums.EligibilitySortingRuleEnum
- DEFAULT_PAGE - Static variable in class org.bhn.promotion.core.constants.GraphQLRequestConstants
- deleteCampaign(String, boolean) - Method in class org.bhn.promotion.voucherify.engine.VoucherifyClient
-
This method invokes voucherify api and Deletes campaign
- deleteCampaign(WebhookRequest.WebhookModel, PimcorePromotionModel) - Method in class org.bhn.promotion.voucherify.service.VoucherifyCampaignService
-
Deletes a campaign based on the provided
WebhookRequest.WebhookModeland updates the correspondingPimcorePromotionModel. - deleteProduct(String, Boolean) - Method in class org.bhn.promotion.voucherify.engine.VoucherifyClient
-
This method invokes voucherify api and delete Product
- deletePromotions(List<PimcorePromotionModel>) - Method in class org.bhn.promotion.core.service.PimcoreService
-
Deletes a list of
PimcorePromotionModelobjects from the Pimcore system. - deletePromotions(PimcorePromotionModel, String) - Method in class org.bhn.promotion.core.proxy.PimcoreProxy
-
Deletes a
PimcorePromotionModelfrom the Pimcore system. - deletePromotionTier(String) - Method in class org.bhn.promotion.voucherify.engine.VoucherifyClient
-
This method invokes voucherify api and Deletes Promotion Tier
- deleteValidationRule(String) - Method in class org.bhn.promotion.voucherify.engine.VoucherifyClient
-
Deletes a validation rule by its ID.
- deleteValidationRuleAssignment(String, String) - Method in class org.bhn.promotion.voucherify.engine.VoucherifyClient
-
Deletes the assignment of a validation rule.
- deleteVoucher(String, boolean) - Method in class org.bhn.promotion.voucherify.engine.VoucherifyClient
-
This method invokes voucherify api and Deletes voucher
- deleteVoucher(WebhookRequest.WebhookModel.BaseModel, PimcorePromotionModel) - Method in class org.bhn.promotion.voucherify.service.VoucherifyVoucherService
-
Marks a voucher as deleted based on the provided
WebhookRequest.WebhookModel.BaseModelmodel. - Delivery - Class in org.bhn.promotion.core.model.pricing
-
Represents the delivery options for a pricing model.
- Delivery() - Constructor for class org.bhn.promotion.core.model.pricing.Delivery
- Details() - Constructor for class org.bhn.promotion.voucherify.model.ValidationResponseDto.ValidationsValidateResponseBodyRedeemablesItemResult.Details
- DEVICE_TYPE - Enum constant in enum class org.bhn.promotion.core.enums.PromotionMetaDataKey
- DISABLED_VOUCHER - Enum constant in enum class org.bhn.promotion.core.enums.ErrorKey
- Discount - Class in org.bhn.promotion.core.model.pricing
-
Represents a discount applied to a pricing model.
- Discount() - Constructor for class org.bhn.promotion.core.model.pricing.Discount
- DISCOUNT_VOUCHER - Enum constant in enum class org.bhn.promotion.voucherify.enums.ObjectTypeEnum
- DiscountEffectEnum - Enum Class in org.bhn.promotion.voucherify.enums
-
Enum representing the effect of a discount application.
- DiscountMapper - Interface in org.bhn.promotion.voucherify.mapper
-
Mapper interface for converting
Discountobjects from the Voucherify client toDiscountModelused in the promotions core model. - DiscountModel - Class in org.bhn.promotion.core.model.campaign
-
Represents a discount configuration for a campaign.
- DiscountModel - Class in org.bhn.promotion.core.model.promotions
-
Represents the discount details applied to a promotion.
- DiscountModel() - Constructor for class org.bhn.promotion.core.model.campaign.DiscountModel
- DiscountModel() - Constructor for class org.bhn.promotion.core.model.promotions.DiscountModel
- DiscountTypeEnum - Enum Class in org.bhn.promotion.voucherify.enums
-
Enum representing the type of discount.
- DiscountUnitMultipleOneUnitMapper - Interface in org.bhn.promotion.voucherify.mapper
-
Mapper interface for converting between Voucherify's
DiscountUnitMultipleOneUnitand the core modelDiscountUnitMultipleOneUnitModel. - DiscountUnitMultipleOneUnitModel - Class in org.bhn.promotion.core.model.campaign
-
Represents a model for a discount unit that can apply to a specific product or SKU with multiple units.
- DiscountUnitMultipleOneUnitModel() - Constructor for class org.bhn.promotion.core.model.campaign.DiscountUnitMultipleOneUnitModel
- DISTRIBUTION_PARTNER_RESELLER_FUNDING_PERCENTAGE - Enum constant in enum class org.bhn.promotion.core.enums.PromotionMetaDataKey
- downloadExport(String, String) - Method in class org.bhn.promotion.voucherify.clients.VoucherifyProxy
-
Downloads an export using the specified export ID and token.
- downloadExport(String, String, String) - Method in interface org.bhn.promotion.core.service.PromotionExportService
-
Downloads the export data based on the provided export type, export ID, and authorization token.
- downloadExport(String, String, String) - Method in class org.bhn.promotion.voucherify.service.VoucherifyPromotionExportService
-
Downloads the export data based on the provided export type, export ID, and authorization token.
- DUPLICATE_FOUND - Enum constant in enum class org.bhn.promotion.voucherify.exception.ApiErrorDetails
- DUPLICATE_REDEEMABLE - Enum constant in enum class org.bhn.promotion.core.enums.ErrorKey
- DUPLICATE_ROLLBACK - Enum constant in enum class org.bhn.promotion.core.enums.ErrorKey
- DUPLICATED_REDEEMABLES - Enum constant in enum class org.bhn.promotion.voucherify.exception.ApiErrorDetails
- DYNAMIC_ERROR_MESSAGE - Enum constant in enum class org.bhn.promotion.core.enums.ErrorKey
E
- EARLY_STATUSES - Static variable in class org.bhn.promotion.core.constants.OrderStatusConstants
- ELIGIBILITY_FLOW_ERROR - Static variable in class org.bhn.promotion.voucherify.engine.QualificationEngine
- EligibilityRequestDto - Class in org.bhn.promotion.voucherify.model
-
Represents a request for checking eligibility in a promotion context.
- EligibilityRequestDto(String, CheckPromotionEligibilityRequestDto) - Constructor for class org.bhn.promotion.voucherify.model.EligibilityRequestDto
- EligibilityResponseModel - Class in org.bhn.promotion.core.model.promotions
-
Represents the response model for checking eligibility in promotions.
- EligibilityResponseModel() - Constructor for class org.bhn.promotion.core.model.promotions.EligibilityResponseModel
- EligibilityScenarioEnum - Enum Class in org.bhn.promotion.voucherify.enums
-
Enum representing eligibility check scenarios.
- EligibilitySortingRuleEnum - Enum Class in org.bhn.promotion.voucherify.enums
-
Enum representing sorting rules for eligibility results.
- eligible(EligibilityRequestDto) - Method in class org.bhn.promotion.bhn.operation.BHNPromotionOperation
- eligible(EligibilityRequestDto) - Method in interface org.bhn.promotion.core.operation.PromotionOperation
- eligible(EligibilityRequestDto) - Method in class org.bhn.promotion.voucherify.operation.VoucherifyPromotionOperation
- eligiblePromotion(PromotionQuoteRequest) - Method in class org.bhn.promotion.core.workflow.PromotionWorkflow
-
This method allows you to check eligibility of promotions that are part of the cart.
- EMPTY_STRING - Static variable in class org.bhn.promotion.core.constants.ValidationConstants
- enableOrDisablePromotionTier(WebhookRequest.WebhookModel.BaseModel, PimcorePromotionModel) - Method in class org.bhn.promotion.voucherify.service.VoucherifyPromotionTierService
-
Enables or disables a promotion based on the provided
WebhookRequest.WebhookModel.BaseModel. - enableOrDisableVoucher(WebhookRequest.WebhookModel.BaseModel, PimcorePromotionModel) - Method in class org.bhn.promotion.voucherify.service.VoucherifyVoucherService
-
Enables or disables a voucher based on the provided
WebhookRequest.WebhookModel.BaseModel. - encrypt(String) - Method in class org.bhn.promotion.core.service.EncryptionService
-
Encrypts the provided plain text using the specified encryption algorithm.
- EncryptionService - Class in org.bhn.promotion.core.service
-
The class contains methods for Encryption and Decryption.
- EncryptionService() - Constructor for class org.bhn.promotion.core.service.EncryptionService
- enrichOrderItemMetaDataWithCardType(Map<String, Object>, AndorCommerceProductResponse) - Static method in class org.bhn.promotion.core.utils.PromotionUtil
-
Enriches order item metadata with card type information.
- enumToStringList(List<ValidityHoursDailyItem.DaysOfWeekEnum>) - Method in interface org.bhn.promotion.voucherify.mapper.ValidityHoursDailyInnerMapper
-
Converts a list of DaysOfWeekEnum to a list of strings.
- ERROR_GET_METADATA_SCHEMA - Enum constant in enum class org.bhn.promotion.core.enums.ErrorKey
- ERROR_UPDATE_TENANT_NAME_METADATA_SCHEMA - Enum constant in enum class org.bhn.promotion.core.enums.ErrorKey
- ErrorKey - Enum Class in org.bhn.promotion.core.enums
-
This class contains the error keys as returned to services invoking promotion service
- ErrorModel - Class in org.bhn.promotion.core.model.promotions
-
Stores the error details as part of Promotion sdk response
- ErrorModel() - Constructor for class org.bhn.promotion.core.model.promotions.ErrorModel
- ErrorModel(String, String) - Constructor for class org.bhn.promotion.core.model.promotions.ErrorModel
- ErrorModel(String, String, String) - Constructor for class org.bhn.promotion.core.model.promotions.ErrorModel
- evaluate(EvaluationRequest) - Method in class org.bhn.promotion.bhn.operation.BHNPromotionOperation
- evaluate(EvaluationRequest) - Method in interface org.bhn.promotion.core.operation.PromotionOperation
- evaluate(EvaluationRequest) - Method in class org.bhn.promotion.voucherify.operation.VoucherifyPromotionOperation
- evaluatePromotion(EvaluationRequest) - Method in class org.bhn.promotion.bhn.engine.BHNPromotionEngine
-
Evaluate the promotion request
- evaluatePromotion(EvaluationRequest) - Method in interface org.bhn.promotion.core.engine.PromotionEngine
-
Evaluate the promotion request
- evaluatePromotion(EvaluationRequest) - Method in class org.bhn.promotion.voucherify.engine.ValidationEngine
-
This method allows you to validate if promotions that are part of the cart can be applied
- evaluatePromotion(EvaluationRequest) - Method in class org.bhn.promotion.voucherify.engine.VoucherifyPromotionEngine
-
Evaluate the promotion request
- EvaluationRequest - Class in org.bhn.promotion.voucherify.model
-
Represents a request for validating promotions or vouchers.
- EvaluationRequest(ValidationRequestDto) - Constructor for class org.bhn.promotion.voucherify.model.EvaluationRequest
- EvaluationResponseModel - Class in org.bhn.promotion.core.model.promotions
-
Represents the response model for evaluating promotions or vouchers.
- EvaluationResponseModel() - Constructor for class org.bhn.promotion.core.model.promotions.EvaluationResponseModel
- EXCLUSION_RULES_NOT_MET - Enum constant in enum class org.bhn.promotion.voucherify.exception.ApiErrorDetails
- EXISTING_REDEMPTIONS - Enum constant in enum class org.bhn.promotion.voucherify.exception.ApiErrorDetails
- ExpandEnum - Enum Class in org.bhn.promotion.voucherify.enums
-
Enum representing expand options for validation requests.
- EXPIRED_VOUCHER - Enum constant in enum class org.bhn.promotion.core.enums.ErrorKey
- ExportModel - Class in org.bhn.promotion.core.model.export
-
Represents a model for export configuration.
- ExportModel() - Constructor for class org.bhn.promotion.core.model.export.ExportModel
- exportsApi() - Method in class org.bhn.promotion.voucherify.config.VoucherifyConfiguration
-
Creates a bean for the ExportsApi.
- extractGroupedRuleKeysFromLogic(String) - Static method in class org.bhn.promotion.voucherify.service.VoucherifyValidationService
-
This method parses a logical expression represented as a string and identifies groups of rule keys enclosed in brackets.
- extractPromoCodesWhereUseBhnPromoServiceIsFalse(List<OrderItem>) - Static method in class org.bhn.promotion.core.utils.PromotionUtil
-
Extract promo codes from order items where useBhnPromoService is false/null/random/not present.
F
- FACE_VALUE - Enum constant in enum class org.bhn.promotion.core.enums.PromotionMetaDataKey
- FaceValue - Class in org.bhn.promotion.core.model.pricing
-
Represents the face value of a pricing model.
- FaceValue() - Constructor for class org.bhn.promotion.core.model.pricing.FaceValue
- FAILED - Enum constant in enum class org.bhn.promotion.voucherify.enums.StatusEnum
- FAILED - Static variable in class org.bhn.promotion.core.constants.ValidationConstants
- FAILURE - Enum constant in enum class org.bhn.promotion.voucherify.enums.StatusEnum
- Fee - Class in org.bhn.promotion.core.model.pricing
-
Represents a fee associated with a pricing model.
- Fee() - Constructor for class org.bhn.promotion.core.model.pricing.Fee
- FEES - Enum constant in enum class org.bhn.promotion.core.enums.PromotionMetaDataKey
- fetchRedemptionId(String, String) - Method in class org.bhn.promotion.voucherify.clients.VoucherifyApiClient
-
Fetch redemption IDs for a voucher and order.
- filterUpcsFromItemDiscountOrValueAddMap(RedemptionResponseModel) - Static method in class org.bhn.promotion.core.utils.PromotionUtil
-
Extracts and returns a list of UPCs from either the item discount map or the item value-add promotion map present in the given
RedemptionResponseModel. - FIXED - Enum constant in enum class org.bhn.promotion.voucherify.enums.DiscountTypeEnum
- FIXED - Enum constant in enum class org.bhn.promotion.voucherify.enums.OverdraftType
- FORBIDDEN - Enum constant in enum class org.bhn.promotion.voucherify.exception.ApiErrorDetails
- FORCE - Static variable in class org.bhn.promotion.voucherify.constants.VoucherifyFieldNameConstants
- ForexPairModel - Class in org.bhn.promotion.core.model.pricing
-
Represents a foreign exchange (forex) currency pair.
- ForexPairModel() - Constructor for class org.bhn.promotion.core.model.pricing.ForexPairModel
- fromValue(String) - Static method in enum class org.bhn.promotion.voucherify.enums.ApplicableObjectEnum
- fromValue(String) - Static method in enum class org.bhn.promotion.voucherify.enums.ApplicableToEffect
- fromValue(String) - Static method in enum class org.bhn.promotion.voucherify.enums.ChannelTypeEnum
- fromValue(String) - Static method in enum class org.bhn.promotion.voucherify.enums.DiscountEffectEnum
- fromValue(String) - Static method in enum class org.bhn.promotion.voucherify.enums.DiscountTypeEnum
- fromValue(String) - Static method in enum class org.bhn.promotion.voucherify.enums.EligibilityScenarioEnum
- fromValue(String) - Static method in enum class org.bhn.promotion.voucherify.enums.EligibilitySortingRuleEnum
- fromValue(String) - Static method in enum class org.bhn.promotion.voucherify.enums.ExpandEnum
- fromValue(String) - Static method in enum class org.bhn.promotion.voucherify.enums.ObjectTypeEnum
- fromValue(String) - Static method in enum class org.bhn.promotion.voucherify.enums.OrderStatusEnum
- fromValue(String) - Static method in enum class org.bhn.promotion.voucherify.enums.RedeemableObjectEnum
- fromValue(String) - Static method in enum class org.bhn.promotion.voucherify.enums.RollbackOrderModeEnum
- fromValue(String) - Static method in enum class org.bhn.promotion.voucherify.enums.StatusEnum
- fromValue(String) - Static method in enum class org.bhn.promotion.voucherify.enums.TargetEnum
- fromValue(String) - Static method in enum class org.bhn.promotion.voucherify.enums.ValidationStatusEnum
- FULFILLED - Enum constant in enum class org.bhn.promotion.voucherify.enums.OrderStatusEnum
- FundingSource - Class in org.bhn.promotion.core.model.promotions
- FundingSource() - Constructor for class org.bhn.promotion.core.model.promotions.FundingSource
G
- generateCSVFromDownloadExport(String, String, String, String, String) - Static method in class org.bhn.promotion.voucherify.utils.VoucherifyMockUtil
-
Generates a CSV file from the downloaded export data.
- generateFilePath(String) - Static method in class org.bhn.promotion.voucherify.utils.VoucherifyMockUtil
-
Generates a file path for the export file based on the export type.
- generateItemUniqueKey(String, Integer) - Static method in class org.bhn.promotion.voucherify.utils.VoucherifyUtil
-
Generates a unique key for an item based on its source ID and price.
- generateItemUniqueKey(String, BigDecimal) - Static method in class org.bhn.promotion.core.utils.PromotionUtil
-
Generate a Unique key using Item upc and Face value
- generateItemUniqueKey(String, BigDecimal) - Static method in class org.bhn.promotion.voucherify.utils.VoucherifyUtil
-
Generates a unique key for an item based on its source ID and scaled price.
- getAccessToken(String) - Method in class org.bhn.promotion.iam.token.TokenGenerator
-
Retrieves an access token by making an HTTP POST request to the configured promotion token service.
- getAndorProductsByUpcs(List<String>, String) - Method in class org.bhn.promotion.core.proxy.PromotionServiceProxy
-
Retrieves product details by a list of UPCs using a REST API call.
- getApiErrorDetails(String) - Static method in enum class org.bhn.promotion.voucherify.exception.ApiErrorDetails
- getCampaign(String) - Method in class org.bhn.promotion.voucherify.engine.VoucherifyClient
-
This method invokes voucherify api and Gets campaign
- getCampaign(String) - Method in class org.bhn.promotion.voucherify.service.VoucherifyCampaignService
-
Retrieves a campaign by its ID and maps it to a
CampaignModel. - getCampaignVouchers(String, LocalDateTime) - Method in class org.bhn.promotion.voucherify.service.VoucherifyVoucherService
-
Retrieves a list of vouchers for a specific campaign ID
- getCustomerMetaData(PromotionQuoteRequest, boolean) - Static method in class org.bhn.promotion.core.utils.PromotionUtil
-
Set MetaData for Customer
- getDiscountEffectFromVoucherifyEffectEnum(Discount.EffectEnum) - Static method in class org.bhn.promotion.voucherify.utils.VoucherifyUtil
-
Converts the given
Discount.EffectEnumto its correspondingDiscountEffectenum constant by matching the enum name. - getEligiblePromotions(EligibilityRequestDto) - Method in class org.bhn.promotion.bhn.engine.BHNPromotionEngine
-
Fetch eligible promotions list
- getEligiblePromotions(EligibilityRequestDto) - Method in interface org.bhn.promotion.core.engine.PromotionEngine
-
Fetch eligible promotions list
- getEligiblePromotions(EligibilityRequestDto) - Method in class org.bhn.promotion.voucherify.engine.QualificationEngine
-
This method allows you to fetch eligible promotions that can be applied to the cart
- getEligiblePromotions(EligibilityRequestDto) - Method in class org.bhn.promotion.voucherify.engine.VoucherifyPromotionEngine
-
Fetch eligible promotions list
- getExport(String) - Method in interface org.bhn.promotion.core.service.PromotionExportService
-
Retrieves the URL for downloading the export associated with the given export ID.
- getExport(String) - Method in class org.bhn.promotion.voucherify.engine.VoucherifyClient
-
Retrieves the details of an existing export using the specified export ID.
- getExport(String) - Method in class org.bhn.promotion.voucherify.service.VoucherifyPromotionExportService
-
Retrieves the URL for downloading the export associated with the given export ID.
- getHttpHeadersConsumer(String, String) - Static method in class org.bhn.promotion.voucherify.utils.VoucherifyMockUtil
-
Returns a consumer that sets HTTP headers for API requests.
- getItemModelsWithAppliedDiscounts(RedeemPromotionResponseDto.RedemptionOrder, Promo) - Static method in class org.bhn.promotion.voucherify.utils.VoucherifyUtil
-
Retrieves a list of
ItemModelobjects from the provided redemption order that have applied discounts, along with the associated promotion details. - getLocalDateTimeFromOffSetDateTime(OffsetDateTime) - Method in interface org.bhn.promotion.voucherify.mapper.PimcorePromotionModelMapper
-
Converts an
OffsetDateTimeto aLocalDateTimeby discarding the offset information. - getLogInfoForAddPromotionTiersToCampaign(String, PromotionsTiersCreateRequestBody) - Static method in class org.bhn.promotion.voucherify.utils.VoucherifyClientLoggerUtil
-
Generates Logging Information from the selected input params
- getLogInfoForCreateProductCollection(ProductCollectionsCreateRequestBody) - Static method in class org.bhn.promotion.voucherify.utils.VoucherifyClientLoggerUtil
-
Generates Logging Information from the selected input params
- getLogInfoForCreateValidationRuleAssignment(String, Boolean, ValidationRulesAssignmentsCreateRequestBody) - Static method in class org.bhn.promotion.voucherify.utils.VoucherifyClientLoggerUtil
-
Generates Logging Information from the selected input params
- getLogInfoForDeleteValidationRuleAssignment(String, String) - Static method in class org.bhn.promotion.voucherify.utils.VoucherifyClientLoggerUtil
-
Generates Logging Information from the selected input params
- getLogInfoForValidationRulesCreateRequestBody(ValidationRulesCreateRequestBody) - Static method in class org.bhn.promotion.voucherify.utils.VoucherifyClientLoggerUtil
-
Generates Logging Information from the selected input params
- getLogInfoForVouchersCreateWithSpecificCodeRequestBody(String, VouchersCreateWithSpecificCodeRequestBody) - Static method in class org.bhn.promotion.voucherify.utils.VoucherifyClientLoggerUtil
-
Generates logging information from the selected attributes
- getMetadataSchema() - Method in class org.bhn.promotion.voucherify.service.VoucherifyManagementService
-
Get metadata schema for a specific project.
- getMetadataSchema(String) - Method in class org.bhn.promotion.voucherify.engine.VoucherifyClient
-
This method invokes the Voucherify Management API to retrieve the metadata schemas for a project.
- getOrderLevelPromoFundingSources(PromoSummary) - Static method in class org.bhn.promotion.core.utils.PromotionUtil
-
Retrieves the funding sources related to order-level promotions.
- getOrderMetaData(PromotionQuoteRequest, String) - Static method in class org.bhn.promotion.core.utils.PromotionUtil
-
Set MetaData for Order
- getPersonByDetails(URI) - Method in class org.bhn.promotion.core.proxy.PersonManagementProxy
-
Retrieves a list of persons based on the provided request parameters.
- getPersonByEmail(String) - Method in class org.bhn.promotion.core.service.PersonManagementService
-
Retrieves a single
Personbased on the provided email address. - getProduct(String) - Method in class org.bhn.promotion.bhn.service.BHNPromotionProductService
-
Retrieves a product by its unique identifier.
- getProduct(String) - Method in interface org.bhn.promotion.core.service.PromotionProductService
-
Retrieves a product by its unique identifier.
- getProduct(String) - Method in class org.bhn.promotion.voucherify.engine.VoucherifyClient
-
This method invokes voucherify api and Gets product
- getProduct(String) - Method in class org.bhn.promotion.voucherify.service.VoucherifyPromotionProductService
-
Retrieves a product from Voucherify by its unique identifier.
- getProductCollection(String) - Method in class org.bhn.promotion.voucherify.engine.VoucherifyClient
-
This method retrieves the product collection for the given product collection ID.
- getProductsFromProductCollection(String) - Method in class org.bhn.promotion.bhn.service.BHNPromotionProductService
-
Retrieves a list of products from a specified product collection.
- getProductsFromProductCollection(String) - Method in interface org.bhn.promotion.core.service.PromotionProductService
-
Retrieves a list of products from a specified product collection.
- getProductsFromProductCollection(String) - Method in class org.bhn.promotion.voucherify.service.VoucherifyPromotionProductService
-
Retrieves a list of products within a specified product collection.
- getPromoAbsoluteDiscountEffect(Promo) - Static method in class org.bhn.promotion.core.utils.PromotionUtil
-
get promo absolute target discountEffect
- getPromoCodesAsString(PromotionQuoteRequest) - Static method in class org.bhn.promotion.core.utils.PromotionUtil
- getPromoMap(List<Promo>) - Static method in class org.bhn.promotion.core.utils.PromotionUtil
- getPromotion(String) - Method in class org.bhn.promotion.voucherify.service.VoucherifyPromotionTierService
-
Retrieves a
PromotionTierModelfor the specified promotion ID. - getPromotionBudgetInfo(List<String>, String) - Method in class org.bhn.promotion.core.proxy.PromotionServiceProxy
- getPromotionEffect(Object) - Static method in class org.bhn.promotion.voucherify.utils.VoucherifyUtil
-
Retrieves the promotion effect from the provided metadata.
- getPromotionEffectEnumFromString(String) - Static method in class org.bhn.promotion.voucherify.utils.VoucherifyUtil
-
Converts the given string to its corresponding
PromotionEffectenum constant. - getPromotionTier(String) - Method in class org.bhn.promotion.voucherify.engine.VoucherifyClient
-
This method invokes voucherify api and Gets promotion tier
- getPromotionTier(String) - Method in class org.bhn.promotion.voucherify.service.VoucherifyPromotionTierService
-
Retrieves the details of a specific promotion tier using the provided promotion ID.
- getRedemptionDiscountModel(RedeemPromotionResponseDto.RedemptionOrder, Map<String, BigDecimal>, String, boolean) - Static method in class org.bhn.promotion.voucherify.utils.VoucherifyUtil
-
Constructs a
DiscountModelfor the given order response, considering item-level and order-level value-add promotions. - getRedemptionMetaData(PromotionQuoteRequest, String) - Static method in class org.bhn.promotion.core.utils.PromotionUtil
-
Set Redemption MetaData
- getRedemptionOrderDiscountModel(RedeemPromotionResponseDto.RedemptionOrder, Map<String, BigDecimal>, String, boolean) - Static method in class org.bhn.promotion.voucherify.utils.VoucherifyUtil
-
Constructs a
DiscountModelfor the given order response, considering item-level and order-level value-add promotions. - getRedemptionsRedeemRequestBodyOptions() - Static method in class org.bhn.promotion.core.adapter.PricingServiceInputAdapter
- getTenantById(String) - Method in class org.bhn.promotion.core.proxy.PromotionServiceProxy
-
Retrieves a tenant by its ID from the promotion service.
- getTenantByName(String) - Method in class org.bhn.promotion.core.proxy.PromotionServiceProxy
-
Retrieves a tenant by its ID from the promotion service.
- getTokenFromResultUrl(String) - Static method in class org.bhn.promotion.voucherify.utils.VoucherifyMockUtil
-
Extracts the token from the result URL.
- getTokenWithRetry(String) - Method in class org.bhn.promotion.iam.token.TokenGenerator
- getUser(String, String) - Method in class org.bhn.promotion.voucherify.engine.VoucherifyClient
-
Gets a user's details from Voucherify.
- getValidationDiscountModel(ValidationResponseDto.ValidateResponseBodyOrder, Map<String, BigDecimal>, String, boolean) - Static method in class org.bhn.promotion.voucherify.utils.VoucherifyUtil
-
Constructs a
DiscountModelfor the given order response, considering item-level and order-level value-add promotions. - getValidationRedeemablesItemDiscountModel(ValidationResponseDto.ValidateResponseBodyOrder, Map<String, BigDecimal>, String, boolean) - Static method in class org.bhn.promotion.voucherify.utils.VoucherifyUtil
-
Constructs a
DiscountModelfor the given order response, considering item-level and order-level value-add promotions. - getValidationRule(String) - Method in class org.bhn.promotion.voucherify.engine.VoucherifyClient
-
This method invokes voucherify api and Gets Validation Rules
- getValue() - Method in enum class org.bhn.promotion.voucherify.enums.ApplicableObjectEnum
- getValue() - Method in enum class org.bhn.promotion.voucherify.enums.ApplicableToEffect
- getValue() - Method in enum class org.bhn.promotion.voucherify.enums.ChannelTypeEnum
- getValue() - Method in enum class org.bhn.promotion.voucherify.enums.DiscountEffectEnum
- getValue() - Method in enum class org.bhn.promotion.voucherify.enums.DiscountTypeEnum
- getValue() - Method in enum class org.bhn.promotion.voucherify.enums.EligibilityScenarioEnum
- getValue() - Method in enum class org.bhn.promotion.voucherify.enums.EligibilitySortingRuleEnum
- getValue() - Method in enum class org.bhn.promotion.voucherify.enums.ExpandEnum
- getValue() - Method in enum class org.bhn.promotion.voucherify.enums.ObjectTypeEnum
- getValue() - Method in enum class org.bhn.promotion.voucherify.enums.OrderStatusEnum
- getValue() - Method in enum class org.bhn.promotion.voucherify.enums.RedeemableObjectEnum
- getValue() - Method in enum class org.bhn.promotion.voucherify.enums.RollbackOrderModeEnum
- getValue() - Method in enum class org.bhn.promotion.voucherify.enums.StatusEnum
- getValue() - Method in enum class org.bhn.promotion.voucherify.enums.TargetEnum
- getValue() - Method in enum class org.bhn.promotion.voucherify.enums.ValidationStatusEnum
- getVoucher(String) - Method in class org.bhn.promotion.voucherify.service.VoucherifyVoucherService
-
Retrieves the details of a specific voucher from Voucherify using the provided voucher ID.
- getVoucher(String) - Method in class org.bhn.promotion.voucherify.engine.VoucherifyClient
-
This method invokes voucherify api and Gets voucher
- getVoucherifyCampaign(String) - Method in class org.bhn.promotion.voucherify.service.VoucherifyCampaignService
-
Retrieves the details of a specific campaign from Voucherify using the provided campaign ID.
- getVouchers(Integer, Integer, String, ParameterCreatedBeforeAfter) - Method in class org.bhn.promotion.voucherify.service.VoucherifyVoucherService
-
Retrieves a list of vouchers for a specific campaign ID with optional filters for limit, page, and creation date.
- getVouchers(Integer, Integer, String, String, String, String, ParameterCreatedBeforeAfter, ParameterUpdatedBeforeAfter, ParameterOrderVouchers, String, List<String>) - Method in class org.bhn.promotion.voucherify.engine.VoucherifyClient
-
Fetches a list of vouchers based on the provided filters and parameters.
- GIFT_AMOUNT_EXCEEDED - Enum constant in enum class org.bhn.promotion.voucherify.exception.ApiErrorDetails
- GIFT_CARD_REQUIRED - Enum constant in enum class org.bhn.promotion.voucherify.exception.ApiErrorDetails
- GRAPHQL_QUERY - Static variable in class org.bhn.promotion.core.constants.GraphQLRequestConstants
-
GraphQL query for searching orders.
- GraphQLRequest - Class in org.bhn.promotion.core.model.promotions
-
Represents a GraphQL request containing a query and associated variables.
- GraphQLRequest() - Constructor for class org.bhn.promotion.core.model.promotions.GraphQLRequest
- GraphQLRequestConstants - Class in org.bhn.promotion.core.constants
-
Contains constants for GraphQL requests to search orders with pagination, sorting, and filtering.
- GraphQLResponse - Class in org.bhn.promotion.core.model.promotions
-
Represents a response from a GraphQL query containing order data.
- GraphQLResponse() - Constructor for class org.bhn.promotion.core.model.promotions.GraphQLResponse
- GraphQLResponse.Data - Class in org.bhn.promotion.core.model.promotions
- GraphQLResponse.Data.SearchOrdersByTenantIdWithPaginationAndSorting - Class in org.bhn.promotion.core.model.promotions
- GraphQLResponse.Data.SearchOrdersByTenantIdWithPaginationAndSorting.Order - Class in org.bhn.promotion.core.model.promotions
- GraphQLResponse.Data.SearchOrdersByTenantIdWithPaginationAndSorting.Order.Sender - Class in org.bhn.promotion.core.model.promotions
- GraphQLResponse.Data.SearchOrdersByTenantIdWithPaginationAndSorting.Order.Status - Class in org.bhn.promotion.core.model.promotions
H
- handlePromotionRollbackData(RollbackDTO) - Method in class org.bhn.promotion.core.service.RollbackService
-
Handles promotion rollback data by sending a message to the configured SQS queue.
- handlePromotionRollbackFailure(RollbackRequest, RollbackRedemptionSummary) - Method in class org.bhn.promotion.core.service.RollbackService
-
Handles promotion rollback failures by sending a message to the configured SQS queue.
I
- IamDto - Class in org.bhn.promotion.iam.dto
-
Represents the Data Transfer Object (DTO) for IAM (Identity and Access Management) token details.
- IamDto() - Constructor for class org.bhn.promotion.iam.dto.IamDto
- IID - Enum constant in enum class org.bhn.promotion.core.enums.PromotionMetaDataKey
- importPromotions(List<PimcorePromotionModel>) - Method in class org.bhn.promotion.core.service.PimcoreService
-
Imports a list of
PimcorePromotionModelobjects into the Pimcore system. - importPromotions(PimcorePromotionModel, String) - Method in class org.bhn.promotion.core.proxy.PimcoreProxy
-
Imports a
PimcorePromotionModelinto the Pimcore system. - INACTIVE_VOUCHER - Enum constant in enum class org.bhn.promotion.core.enums.ErrorKey
- INAPPLICABLE - Enum constant in enum class org.bhn.promotion.voucherify.enums.ValidationStatusEnum
- INAPPLICABLE_VOUCHER_CODE - Enum constant in enum class org.bhn.promotion.core.enums.ErrorKey
- InapplicableItemDto - Class in org.bhn.promotion.voucherify.model.common
-
Represents items or products to which a discount is not applicable.
- InapplicableItemDto() - Constructor for class org.bhn.promotion.voucherify.model.common.InapplicableItemDto
- InapplicableItemResultDto - Class in org.bhn.promotion.voucherify.model.common
-
Result list containing items to which a discount is not applicable.
- InapplicableItemResultDto() - Constructor for class org.bhn.promotion.voucherify.model.common.InapplicableItemResultDto
- inputAdapter() - Method in class org.bhn.promotion.voucherify.config.VoucherifyConfiguration
-
Creates a primary InputAdapter bean for handling input to the pricing service.
- InputAdapter - Interface in org.bhn.promotion.core.adapter
-
InputAdapter interface.
- INSTANCE - Static variable in interface org.bhn.promotion.core.mapper.PromoMapper
- INSTANCE - Static variable in interface org.bhn.promotion.core.mapper.RollbackRequestV3Mapper
- INSTANCE - Static variable in interface org.bhn.promotion.voucherify.mapper.CategoryMapper
- INSTANCE - Static variable in interface org.bhn.promotion.voucherify.mapper.DiscountMapper
- INSTANCE - Static variable in interface org.bhn.promotion.voucherify.mapper.DiscountUnitMultipleOneUnitMapper
- INSTANCE - Static variable in interface org.bhn.promotion.voucherify.mapper.PimcorePromotionModelMapper
- INSTANCE - Static variable in interface org.bhn.promotion.voucherify.mapper.ProductMapper
- INSTANCE - Static variable in interface org.bhn.promotion.voucherify.mapper.ProductSkuMapper
- INSTANCE - Static variable in interface org.bhn.promotion.voucherify.mapper.PromotionTierActionMapper
- INSTANCE - Static variable in interface org.bhn.promotion.voucherify.mapper.PromotionTierMapper
- INSTANCE - Static variable in interface org.bhn.promotion.voucherify.mapper.ValidityHoursDailyInnerMapper
- INSTANCE - Static variable in interface org.bhn.promotion.voucherify.mapper.ValidityHoursMapper
- INSTANCE - Static variable in interface org.bhn.promotion.voucherify.mapper.ValidityTimeframeMapper
- INSTANCE - Static variable in interface org.bhn.promotion.voucherify.mapper.VoucherifyCampaignMapper
- INTERNAL_ERROR - Enum constant in enum class org.bhn.promotion.voucherify.exception.ApiErrorDetails
- INTERNAL_SERVER_ERROR - Enum constant in enum class org.bhn.promotion.core.enums.ErrorKey
- INVALID_AMOUNT - Enum constant in enum class org.bhn.promotion.voucherify.exception.ApiErrorDetails
- INVALID_CAMPAIGN_ID - Enum constant in enum class org.bhn.promotion.core.enums.ErrorKey
- INVALID_CAMPAIGN_PAYLOAD - Enum constant in enum class org.bhn.promotion.core.enums.ErrorKey
- INVALID_CUSTOMER - Enum constant in enum class org.bhn.promotion.voucherify.exception.ApiErrorDetails
- INVALID_DISCOUNT_EFFECT - Enum constant in enum class org.bhn.promotion.voucherify.exception.ApiErrorDetails
- INVALID_ELIGIBILITY_PAYLOAD - Enum constant in enum class org.bhn.promotion.core.enums.ErrorKey
- INVALID_ELIGIBILITY_RESPONSE - Enum constant in enum class org.bhn.promotion.core.enums.ErrorKey
- INVALID_GIFT_CREDITS - Enum constant in enum class org.bhn.promotion.voucherify.exception.ApiErrorDetails
- INVALID_ORDER - Enum constant in enum class org.bhn.promotion.voucherify.exception.ApiErrorDetails
- INVALID_ORDER_ITEM - Enum constant in enum class org.bhn.promotion.voucherify.exception.ApiErrorDetails
- INVALID_PAYLOAD - Enum constant in enum class org.bhn.promotion.voucherify.exception.ApiErrorDetails
- INVALID_PRODUCT - Enum constant in enum class org.bhn.promotion.voucherify.exception.ApiErrorDetails
- INVALID_PRODUCT_COLLECTION_ID - Enum constant in enum class org.bhn.promotion.core.enums.ErrorKey
- INVALID_PRODUCT_ID - Enum constant in enum class org.bhn.promotion.core.enums.ErrorKey
- INVALID_PRODUCT_METADATA - Enum constant in enum class org.bhn.promotion.core.enums.ErrorKey
- INVALID_PRODUCT_PAYLOAD - Enum constant in enum class org.bhn.promotion.core.enums.ErrorKey
- INVALID_PRODUCT_SKU_ID - Enum constant in enum class org.bhn.promotion.core.enums.ErrorKey
- INVALID_PRODUCT_SKU_PAYLOAD - Enum constant in enum class org.bhn.promotion.core.enums.ErrorKey
- INVALID_PROMOTION_TIER_ID - Enum constant in enum class org.bhn.promotion.core.enums.ErrorKey
- INVALID_PROMOTION_TIER_PAYLOAD - Enum constant in enum class org.bhn.promotion.core.enums.ErrorKey
- INVALID_QUERY - Enum constant in enum class org.bhn.promotion.voucherify.exception.ApiErrorDetails
- INVALID_QUERY_PARAMS - Enum constant in enum class org.bhn.promotion.voucherify.exception.ApiErrorDetails
- INVALID_REDEEMABLES - Enum constant in enum class org.bhn.promotion.voucherify.exception.ApiErrorDetails
- INVALID_REDEEMABLES_COUNT - Enum constant in enum class org.bhn.promotion.voucherify.exception.ApiErrorDetails
- INVALID_REDEMPTION - Enum constant in enum class org.bhn.promotion.voucherify.exception.ApiErrorDetails
- INVALID_REDEMPTION_ID - Enum constant in enum class org.bhn.promotion.core.enums.ErrorKey
- INVALID_REDEMPTION_PARENT - Enum constant in enum class org.bhn.promotion.voucherify.exception.ApiErrorDetails
- INVALID_REDEMPTION_PAYLOAD - Enum constant in enum class org.bhn.promotion.core.enums.ErrorKey
- INVALID_REDEMPTION_RESPONSE - Enum constant in enum class org.bhn.promotion.core.enums.ErrorKey
- INVALID_REDEMPTION_RESULT - Enum constant in enum class org.bhn.promotion.voucherify.exception.ApiErrorDetails
- INVALID_RELATED_TO - Enum constant in enum class org.bhn.promotion.voucherify.exception.ApiErrorDetails
- INVALID_REWARD_POINTS - Enum constant in enum class org.bhn.promotion.voucherify.exception.ApiErrorDetails
- INVALID_ROLLBACK_PARAMS - Enum constant in enum class org.bhn.promotion.voucherify.exception.ApiErrorDetails
- INVALID_ROLLBACK_PAYLOAD - Enum constant in enum class org.bhn.promotion.core.enums.ErrorKey
- INVALID_ROLLBACK_RESPONSE - Enum constant in enum class org.bhn.promotion.core.enums.ErrorKey
- INVALID_RULES - Enum constant in enum class org.bhn.promotion.voucherify.exception.ApiErrorDetails
- INVALID_RULES_LOGIC - Enum constant in enum class org.bhn.promotion.voucherify.exception.ApiErrorDetails
- INVALID_SKU - Enum constant in enum class org.bhn.promotion.voucherify.exception.ApiErrorDetails
- INVALID_SUBJECT - Enum constant in enum class org.bhn.promotion.voucherify.exception.ApiErrorDetails
- INVALID_VALIDATION_PAYLOAD - Enum constant in enum class org.bhn.promotion.core.enums.ErrorKey
- INVALID_VALIDATION_PAYLOAD - Enum constant in enum class org.bhn.promotion.voucherify.exception.ApiErrorDetails
- INVALID_VALIDATION_RESPONSE - Enum constant in enum class org.bhn.promotion.core.enums.ErrorKey
- INVALID_VALIDATION_RULE_ID - Enum constant in enum class org.bhn.promotion.core.enums.ErrorKey
- INVALID_VOUCHER - Enum constant in enum class org.bhn.promotion.voucherify.exception.ApiErrorDetails
- INVALID_VOUCHER_CODE - Enum constant in enum class org.bhn.promotion.core.enums.ErrorKey
- inviteUser(ManagementProjectsUsersInviteCreateRequestBody) - Method in class org.bhn.promotion.voucherify.engine.VoucherifyClient
-
This method invokes the Voucherify Management API to invite a user to a project.
- IS_ASCENDING - Static variable in class org.bhn.promotion.core.constants.GraphQLRequestConstants
- IS_ASCENDING_VARIABLE - Static variable in class org.bhn.promotion.core.constants.GraphQLRequestConstants
- IS_BUSINESS_CARD - Enum constant in enum class org.bhn.promotion.core.enums.PromotionMetaDataKey
- IS_CONSUMER_CARD - Enum constant in enum class org.bhn.promotion.core.enums.PromotionMetaDataKey
- IS_GUEST_USER - Enum constant in enum class org.bhn.promotion.core.enums.PromotionMetaDataKey
- IS_NEW_USER - Enum constant in enum class org.bhn.promotion.core.enums.PromotionMetaDataKey
- IS_ORDER_ITEM_HAS_SAME_DELIVERY_ADDRESS - Enum constant in enum class org.bhn.promotion.core.enums.PromotionMetaDataKey
- IS_PROMOTION_BUDGET_EXHAUSTED_FULFILLMENT_ALLOWED - Enum constant in enum class org.bhn.promotion.core.enums.ConfigurationFlags
- IS_PROMOTION_BUSINESS_CARD_LOOKUP_ENABLED - Enum constant in enum class org.bhn.promotion.core.enums.ConfigurationFlags
- IS_PROMOTION_GUEST_USER_CHECK_ENABLED - Enum constant in enum class org.bhn.promotion.core.enums.ConfigurationFlags
- IS_PROMOTION_NEW_USER_CHECK_ENABLED - Enum constant in enum class org.bhn.promotion.core.enums.ConfigurationFlags
- IS_PROMOTION_SDK_FEATURE_ENABLE - Enum constant in enum class org.bhn.promotion.core.enums.ConfigurationFlags
- IS_PROMOTION_SHADOW_MODE_ASYNC_ENABLE - Enum constant in enum class org.bhn.promotion.core.enums.ConfigurationFlags
- IS_PROMOTION_SHADOW_MODE_ENABLE - Enum constant in enum class org.bhn.promotion.core.enums.ConfigurationFlags
- IS_PROMOTION_VALIDATION_FLOW_ENABLED - Enum constant in enum class org.bhn.promotion.core.enums.ConfigurationFlags
- IS_SAME_DELIVERY_ADDRESS - Enum constant in enum class org.bhn.promotion.core.enums.PromotionMetaDataKey
- IS_SELF_PURCHASE - Enum constant in enum class org.bhn.promotion.core.enums.PromotionMetaDataKey
- isEmailPresent(Sender) - Static method in class org.bhn.promotion.core.utils.PromotionUtil
-
Validate whether Sender and Email is present
- isOrderLevelPromo(Promo) - Static method in class org.bhn.promotion.core.utils.PromotionUtil
-
identify promo is Order level
- isValidShippingFee(PromotionQuoteRequest) - Method in class org.bhn.promotion.voucherify.service.ShippingFeePromotionService
-
Validates whether the first shipping fee in the provided PromotionQuoteRequest is greater than zero.
- isValidShippingMetaData(Map<String, Object>) - Method in class org.bhn.promotion.voucherify.service.ShippingFeePromotionService
-
Validates the shipping metadata present in the provided metaData map.
- ITEM - Enum constant in enum class org.bhn.promotion.voucherify.enums.TargetEnum
- ItemModel - Class in org.bhn.promotion.core.model.promotions
-
Represents an item in a promotional context.
- ItemModel() - Constructor for class org.bhn.promotion.core.model.promotions.ItemModel
L
- LEAST_DEAL - Enum constant in enum class org.bhn.promotion.voucherify.enums.EligibilitySortingRuleEnum
- LIST - Enum constant in enum class org.bhn.promotion.voucherify.enums.ObjectTypeEnum
- ListOfForexPairModel - Class in org.bhn.promotion.core.model.pricing
-
Represents a collection of foreign exchange (Forex) pairs.
- ListOfForexPairModel() - Constructor for class org.bhn.promotion.core.model.pricing.ListOfForexPairModel
- LocalDateTimeToUtcStringSerializer - Class in org.bhn.promotion.core.config
-
Serializer for LocalDateTime fields to format them as ISO 8601 UTC strings with milliseconds precision and a trailing 'Z' (e.g. 2025-06-16T05:38:32.000Z).
- LocalDateTimeToUtcStringSerializer() - Constructor for class org.bhn.promotion.core.config.LocalDateTimeToUtcStringSerializer
-
Default constructor initializing the serializer for LocalDateTime type.
- LOCALE - Enum constant in enum class org.bhn.promotion.core.enums.PromotionMetaDataKey
- LocaleConfigMetadata - Class in org.bhn.promotion.voucherify.model.metadata
-
Locale-specific configuration metadata for promotions.
- LocaleConfigMetadata() - Constructor for class org.bhn.promotion.voucherify.model.metadata.LocaleConfigMetadata
- LOCKED - Enum constant in enum class org.bhn.promotion.voucherify.exception.ApiErrorDetails
- LOYALTY_CARD_POINTS_EXCEEDED - Enum constant in enum class org.bhn.promotion.voucherify.exception.ApiErrorDetails
M
- managementApi() - Method in class org.bhn.promotion.voucherify.config.VoucherifyConfiguration
- MANUAL - Enum constant in enum class org.bhn.promotion.voucherify.enums.BudgetUpdatedBy
- mapAmountLimit(BigDecimal) - Method in interface org.bhn.promotion.voucherify.mapper.PimcorePromotionModelMapper
-
Maps the amount limit value from a BigDecimal to a Double representation suitable for Pimcore.
- mapAmountOff(BigDecimal) - Method in interface org.bhn.promotion.voucherify.mapper.PimcorePromotionModelMapper
-
Maps the amount off value from a BigDecimal to a BigDecimal representation suitable for Pimcore by scaling;
- mapPercentOff(BigDecimal) - Method in interface org.bhn.promotion.voucherify.mapper.PimcorePromotionModelMapper
-
Maps the percent off value from a BigDecimal to a BigDecimal representation suitable for Pimcore.
- MAX_PAGE_SIZE - Static variable in class org.bhn.promotion.core.constants.GraphQLRequestConstants
- METADATA_KEY_TENANT_NAME - Static variable in class org.bhn.promotion.voucherify.service.VoucherifyManagementService
- METHOD_CODE - Enum constant in enum class org.bhn.promotion.core.enums.PromotionMetaDataKey
- MISSING_AMOUNT - Enum constant in enum class org.bhn.promotion.voucherify.exception.ApiErrorDetails
- MISSING_CAMPAIGN - Enum constant in enum class org.bhn.promotion.voucherify.exception.ApiErrorDetails
- MISSING_CUSTOM_EVENT - Enum constant in enum class org.bhn.promotion.voucherify.exception.ApiErrorDetails
- MISSING_CUSTOMER - Enum constant in enum class org.bhn.promotion.voucherify.exception.ApiErrorDetails
- MISSING_ORDER - Enum constant in enum class org.bhn.promotion.voucherify.exception.ApiErrorDetails
- MISSING_ORDER_AMOUNT - Enum constant in enum class org.bhn.promotion.voucherify.exception.ApiErrorDetails
- MISSING_ORDER_DISCOUNT_AMOUNT - Enum constant in enum class org.bhn.promotion.voucherify.exception.ApiErrorDetails
- MISSING_ORDER_ITEMS - Enum constant in enum class org.bhn.promotion.voucherify.exception.ApiErrorDetails
- MISSING_ORDER_ITEMS_AMOUNT - Enum constant in enum class org.bhn.promotion.voucherify.exception.ApiErrorDetails
- MISSING_PARAM - Enum constant in enum class org.bhn.promotion.voucherify.exception.ApiErrorDetails
- MISSING_REQUIRED_FEATURE - Enum constant in enum class org.bhn.promotion.voucherify.exception.ApiErrorDetails
- MISSING_REWARD - Enum constant in enum class org.bhn.promotion.voucherify.exception.ApiErrorDetails
- MISSING_USER - Enum constant in enum class org.bhn.promotion.voucherify.exception.ApiErrorDetails
- MULTIPLE_PROMOTION_FOR_SAME_PRODUCT - Enum constant in enum class org.bhn.promotion.core.enums.ErrorKey
- MULTIPLE_REQUESTS - Enum constant in enum class org.bhn.promotion.voucherify.exception.ApiErrorDetails
N
- NAME - Static variable in class org.bhn.promotion.voucherify.constants.VoucherifyFieldNameConstants
- NEW_USER_SERVICING_GRAPH_QL_ENDPOINT - Static variable in class org.bhn.promotion.core.constants.GraphQLRequestConstants
- newUserGraphQL() - Method in class org.bhn.promotion.voucherify.config.VoucherifyConfiguration
-
Creates and returns a
NewUserGraphQLProxybean, configured with the GraphQL URL,RestTemplate, andTokenGeneratorfor making authenticated GraphQL requests. - NewUserGraphQLProxy - Class in org.bhn.promotion.core.proxy
-
Service for making GraphQL requests to fetch new user data.
- NewUserGraphQLProxy() - Constructor for class org.bhn.promotion.core.proxy.NewUserGraphQLProxy
- NO_APPLICABLE_REDEEMABLES - Enum constant in enum class org.bhn.promotion.voucherify.exception.ApiErrorDetails
- NO_SUITABLE_REWARD - Enum constant in enum class org.bhn.promotion.voucherify.exception.ApiErrorDetails
- NOT_FOUND - Enum constant in enum class org.bhn.promotion.voucherify.exception.ApiErrorDetails
- NULL_QUOTE_REQUEST_MESSAGE - Static variable in class org.bhn.promotion.core.constants.ValidationConstants
O
- objectToJsonString(Object) - Static method in class org.bhn.promotion.core.utils.PromotionUtil
-
Converts an object to its JSON string representation.
- ObjectTypeEnum - Enum Class in org.bhn.promotion.voucherify.enums
-
Supported object types used in promotion flows.
- of(String) - Static method in class org.bhn.promotion.core.model.pricing.RollbackRedemptionSummary
- Offer - Class in org.bhn.promotion.core.model.pricing
-
Represents an offer that can be applied in pricing contexts.
- Offer() - Constructor for class org.bhn.promotion.core.model.pricing.Offer
- Order() - Constructor for class org.bhn.promotion.core.model.promotions.GraphQLResponse.Data.SearchOrdersByTenantIdWithPaginationAndSorting.Order
- ORDER - Enum constant in enum class org.bhn.promotion.voucherify.enums.ExpandEnum
- ORDER - Enum constant in enum class org.bhn.promotion.voucherify.enums.ObjectTypeEnum
- ORDER_ID - Enum constant in enum class org.bhn.promotion.core.enums.PromotionMetaDataKey
- ORDER_ITEM - Enum constant in enum class org.bhn.promotion.voucherify.enums.ObjectTypeEnum
- ORDER_ITEM_ID - Enum constant in enum class org.bhn.promotion.core.enums.PromotionMetaDataKey
- ORDER_ITEM_QUANTITY - Enum constant in enum class org.bhn.promotion.core.enums.PromotionMetaDataKey
- ORDER_ITEMS - Enum constant in enum class org.bhn.promotion.core.enums.PromotionMetaDataKey
- ORDER_RULES_VIOLATED - Enum constant in enum class org.bhn.promotion.voucherify.exception.ApiErrorDetails
- OrderContextDto - Class in org.bhn.promotion.voucherify.model.common
-
Represents an order in the system.
- OrderContextDto() - Constructor for class org.bhn.promotion.voucherify.model.common.OrderContextDto
- OrderDTO - Class in org.bhn.promotion.core.model.promotions
-
(DTO) for representing an order and its associated details.
- OrderDTO() - Constructor for class org.bhn.promotion.core.model.promotions.OrderDTO
- OrderDTO.OrderItemDto - Class in org.bhn.promotion.core.model.promotions
-
(DTO) for representing individual order items in an order.
- OrderItem - Class in org.bhn.promotion.core.model.pricing
-
Represents an item in an order, extending the base order item model.
- OrderItem() - Constructor for class org.bhn.promotion.core.model.pricing.OrderItem
- OrderItemContextDto - Class in org.bhn.promotion.voucherify.model.common
-
Represents an item in an order.
- OrderItemContextDto() - Constructor for class org.bhn.promotion.voucherify.model.common.OrderItemContextDto
- OrderItemDto() - Constructor for class org.bhn.promotion.core.model.promotions.OrderDTO.OrderItemDto
- OrderItemProductDto - Class in org.bhn.promotion.voucherify.model.common
-
Represents a product in an order item.
- OrderItemProductDto() - Constructor for class org.bhn.promotion.voucherify.model.common.OrderItemProductDto
- OrderItemSkuDto - Class in org.bhn.promotion.voucherify.model.common
-
Represents a SKU in an order item.
- OrderItemSkuDto() - Constructor for class org.bhn.promotion.voucherify.model.common.OrderItemSkuDto
- OrderRedemptionEntryDto - Class in org.bhn.promotion.voucherify.model.common
-
Represents an entry for order redemptions.
- OrderRedemptionEntryDto() - Constructor for class org.bhn.promotion.voucherify.model.common.OrderRedemptionEntryDto
- OrderStatusConstants - Class in org.bhn.promotion.core.constants
-
Utility class containing constants for different order statuses.
- OrderStatusEnum - Enum Class in org.bhn.promotion.voucherify.enums
-
Enum representing the status of an order.
- orderStorageService(PromotionServiceProxy, RollbackService, AWSSqsMessageService) - Method in class org.bhn.promotion.core.config.PromotionConfiguration
-
Creates and returns an instance of
OrderStorageService. - OrderStorageService - Class in org.bhn.promotion.core.service
-
Service class responsible for preparing and processing
OrderDTO. - OrderStorageService() - Constructor for class org.bhn.promotion.core.service.OrderStorageService
- org.bhn.promotion.bhn.config - package org.bhn.promotion.bhn.config
-
Provides the classes which can be used to configure BHN attributes
- org.bhn.promotion.bhn.engine - package org.bhn.promotion.bhn.engine
-
Provides the classes which contains bhn implementation of promotion engine.
- org.bhn.promotion.bhn.operation - package org.bhn.promotion.bhn.operation
-
Provides the classes which contains bhn implementation of promotion operation.
- org.bhn.promotion.bhn.service - package org.bhn.promotion.bhn.service
-
Contains all of the BHN classes which performs product related operation such as create, update and get product details.
- org.bhn.promotion.core.adapter - package org.bhn.promotion.core.adapter
-
Provides the classes which help in converting external data from any format to an internal format needed by the promotion sdk
- org.bhn.promotion.core.config - package org.bhn.promotion.core.config
-
Provides the classes which can be used to configure internal application attributes
- org.bhn.promotion.core.constants - package org.bhn.promotion.core.constants
-
Provides the classes which contain common constants used across the application
- org.bhn.promotion.core.engine - package org.bhn.promotion.core.engine
-
Provides the classes which contain interface of promotion engine.
- org.bhn.promotion.core.enums - package org.bhn.promotion.core.enums
-
This package contains enumerations related to promotion metadata keys and error keys used in the promotion service.
- org.bhn.promotion.core.exception - package org.bhn.promotion.core.exception
-
Provides the classes to represent custom promotion exception
- org.bhn.promotion.core.mapper - package org.bhn.promotion.core.mapper
-
MapStruct mappers for mapping domain objects and Data Transfer Objects.
- org.bhn.promotion.core.model - package org.bhn.promotion.core.model
-
Provides data model classes which is used to store data
- org.bhn.promotion.core.model.andor - package org.bhn.promotion.core.model.andor
-
Package containing models related to ANDOR
- org.bhn.promotion.core.model.budget - package org.bhn.promotion.core.model.budget
-
Package containing budget domain model classes for the promotion core module.
- org.bhn.promotion.core.model.campaign - package org.bhn.promotion.core.model.campaign
-
Provides data model classes which is used to store data for campaign constructs
- org.bhn.promotion.core.model.export - package org.bhn.promotion.core.model.export
-
Classes in this package are used to facilitate the generation of different kinds of reports in the promotion module, with flexible options for export type and sorting parameters.
- org.bhn.promotion.core.model.personmanagement - package org.bhn.promotion.core.model.personmanagement
-
This package contains classes related to managing person information in the promotion service.
- org.bhn.promotion.core.model.pimcore - package org.bhn.promotion.core.model.pimcore
-
Provides data model classes which is used to store data for pimcore constructs
- org.bhn.promotion.core.model.pricing - package org.bhn.promotion.core.model.pricing
-
Provides data model classes which is used to store data for pricing constructs
- org.bhn.promotion.core.model.promotions - package org.bhn.promotion.core.model.promotions
-
Provides data model classes which is used to store data for promotion constructs
- org.bhn.promotion.core.model.tenant - package org.bhn.promotion.core.model.tenant
-
Tenant\-related domain model types for the promotion core.
- org.bhn.promotion.core.operation - package org.bhn.promotion.core.operation
-
Provides the classes necessary to perform operation on some input data using a promotion engine
- org.bhn.promotion.core.proxy - package org.bhn.promotion.core.proxy
-
This package contains proxy classes used for interacting with various external APIs such as Pimcore, PersonManagement system .
- org.bhn.promotion.core.service - package org.bhn.promotion.core.service
-
Package contains interfaces which performs product related operation such as create, update and get product details.
- org.bhn.promotion.core.utils - package org.bhn.promotion.core.utils
-
Provides the classes with common utility methods
- org.bhn.promotion.core.workflow - package org.bhn.promotion.core.workflow
-
Provides the classes necessary to chain multiple promotion operation, like adapter, operation and appliers together
- org.bhn.promotion.iam.dto - package org.bhn.promotion.iam.dto
-
DTOs (Data Transfer Objects) for the IAM (Identity and Access Management) module.
- org.bhn.promotion.iam.token - package org.bhn.promotion.iam.token
-
Token-related classes for the IAM module (token creation, parsing, validation).
- org.bhn.promotion.voucherify.clients - package org.bhn.promotion.voucherify.clients
-
Contains the client classes responsible for interacting with the Voucherify API.
- org.bhn.promotion.voucherify.config - package org.bhn.promotion.voucherify.config
-
Provides the classes which can be used to configure Voucherify attributes
- org.bhn.promotion.voucherify.constants - package org.bhn.promotion.voucherify.constants
-
Provides the classes which contain voucherify constants
- org.bhn.promotion.voucherify.engine - package org.bhn.promotion.voucherify.engine
-
Provides the classes which contains voucherify implementation of promotion engine.
- org.bhn.promotion.voucherify.enums - package org.bhn.promotion.voucherify.enums
-
Package containing enum types used by the Voucherify integration.
- org.bhn.promotion.voucherify.exception - package org.bhn.promotion.voucherify.exception
-
Provides the classes to represent voucherify exception
- org.bhn.promotion.voucherify.mapper - package org.bhn.promotion.voucherify.mapper
-
Provides the classes to convert between different object types for PIMCore
- org.bhn.promotion.voucherify.model - package org.bhn.promotion.voucherify.model
-
Provides voucherify data model classes which is used to store data
- org.bhn.promotion.voucherify.model.common - package org.bhn.promotion.voucherify.model.common
-
Common model types shared across Voucherify integration.
- org.bhn.promotion.voucherify.model.metadata - package org.bhn.promotion.voucherify.model.metadata
-
Package containing metadata models used by the Voucherify integration.
- org.bhn.promotion.voucherify.operation - package org.bhn.promotion.voucherify.operation
-
Provides the classes which contains voucherify implementation of promotion operation.
- org.bhn.promotion.voucherify.service - package org.bhn.promotion.voucherify.service
-
Contains all of the voucherify classes which performs product related operation such as create, update and get product details.
- org.bhn.promotion.voucherify.utils - package org.bhn.promotion.voucherify.utils
-
Provides the classes with voucherify utility methods
- outputAdapter() - Method in class org.bhn.promotion.voucherify.config.VoucherifyConfiguration
-
Creates a primary OutputAdapter bean for handling output from the pricing service.
- OutputAdapter - Interface in org.bhn.promotion.core.adapter
-
OutputAdapter interface.
- OVERDRAFT_TYPE - Enum constant in enum class org.bhn.promotion.core.enums.PromotionMetaDataKey
- OVERDRAFT_VALUE - Enum constant in enum class org.bhn.promotion.core.enums.PromotionMetaDataKey
- OverdraftType - Enum Class in org.bhn.promotion.voucherify.enums
-
Enum representing the type of overdraft.
P
- PAGE_SIZE_VARIABLE - Static variable in class org.bhn.promotion.core.constants.GraphQLRequestConstants
- PAGE_VARIABLE - Static variable in class org.bhn.promotion.core.constants.GraphQLRequestConstants
- PAID - Enum constant in enum class org.bhn.promotion.voucherify.enums.OrderStatusEnum
- PAYMENT_REQUIRED - Enum constant in enum class org.bhn.promotion.voucherify.exception.ApiErrorDetails
- PERCENT - Enum constant in enum class org.bhn.promotion.voucherify.enums.DiscountTypeEnum
- PERCENTAGE - Enum constant in enum class org.bhn.promotion.voucherify.enums.OverdraftType
- performRollbackWithRetry(RollbackRequest) - Method in class org.bhn.promotion.core.service.RollbackRetryService
-
Performs a rollback operation with retry logic for handling transient failures.
- performWarmup() - Method in class org.bhn.promotion.voucherify.service.VoucherifyWarmupService
-
Performs a warmup call to the Voucherify API by fetching a product.
- performWarmupForJSONLibrary() - Method in class org.bhn.promotion.voucherify.service.VoucherifyWarmupService
- Person - Class in org.bhn.promotion.core.model.personmanagement
-
Represents a person with personal and contact details.
- Person() - Constructor for class org.bhn.promotion.core.model.personmanagement.Person
- PersonManagementProxy - Class in org.bhn.promotion.core.proxy
-
Proxy class for interacting with the Person Management API.
- PersonManagementProxy() - Constructor for class org.bhn.promotion.core.proxy.PersonManagementProxy
- PersonManagementService - Class in org.bhn.promotion.core.service
-
Service class for getting Person details from the Person Management system.
- PersonManagementService() - Constructor for class org.bhn.promotion.core.service.PersonManagementService
- PimcorePromotionModel - Class in org.bhn.promotion.core.model.pimcore
-
Represents a promotion in the Pimcore system.
- PimcorePromotionModel() - Constructor for class org.bhn.promotion.core.model.pimcore.PimcorePromotionModel
- PimcorePromotionModelMapper - Interface in org.bhn.promotion.voucherify.mapper
-
Mapper interface for converting various Voucherify response bodies into
PimcorePromotionModelinstances. - PimcorePromotionModelMapperImpl - Class in org.bhn.promotion.voucherify.mapper
- PimcorePromotionModelMapperImpl() - Constructor for class org.bhn.promotion.voucherify.mapper.PimcorePromotionModelMapperImpl
- PimcoreProxy - Class in org.bhn.promotion.core.proxy
-
Proxy class for interacting with the Pimcore API.
- PimcoreProxy() - Constructor for class org.bhn.promotion.core.proxy.PimcoreProxy
- PimcoreService - Class in org.bhn.promotion.core.service
-
Service class for managing promotions in the Pimcore system.
- PimcoreService(PimcoreProxy) - Constructor for class org.bhn.promotion.core.service.PimcoreService
- PMSProductModel - Class in org.bhn.promotion.core.model
-
Represents a product used in a promotion service.
- PMSProductModel() - Constructor for class org.bhn.promotion.core.model.PMSProductModel
- PMSProductSkuModel - Class in org.bhn.promotion.core.model
-
Represents the SKU (Stock Keeping Unit) of a product used in promotion service.
- PMSProductSkuModel() - Constructor for class org.bhn.promotion.core.model.PMSProductSkuModel
- PRECEDING_VALIDATION_FAILED - Enum constant in enum class org.bhn.promotion.voucherify.exception.ApiErrorDetails
- PricingServiceInputAdapter - Class in org.bhn.promotion.core.adapter
-
PricingServiceInputAdapter implementation.
- PricingServiceInputAdapter() - Constructor for class org.bhn.promotion.core.adapter.PricingServiceInputAdapter
- PricingServiceOutputAdapter - Class in org.bhn.promotion.core.adapter
-
PricingServiceOutputAdapter implementation.
- PricingServiceOutputAdapter() - Constructor for class org.bhn.promotion.core.adapter.PricingServiceOutputAdapter
- processCampaignValidationRulesAndSavePromotionBudget(String, PimcorePromotionModel, CampaignsGetResponseBody) - Method in class org.bhn.promotion.voucherify.service.VoucherifyValidationService
-
Processes the validation rules for a given campaign and saves the corresponding promotion budget.
- processOrderDto(String, PromotionQuoteRequest, PromoSummary, List<RedemptionModel>) - Method in class org.bhn.promotion.core.service.OrderStorageService
-
Asynchronously processes the order by preparing an
OrderDTOusing the provided flow,PromotionQuoteRequest,PromoSummary, and a list ofRedemptionModel. - processRollback(String, RollbackRequest, RollbackRedemptionSummary, RollbackResponseModel) - Method in class org.bhn.promotion.core.service.OrderStorageService
-
Processes a rollback request by constructing rollback models based on the provided
RollbackResponseModelandRollbackRequest, and then persists the rollback data using aRollbackDTO. - processWebhook(WebhookRequest) - Method in class org.bhn.promotion.bhn.service.BHNPromotionWebhookService
-
Processes the webhook data provided in the
WebhookRequest. - processWebhook(WebhookRequest) - Method in interface org.bhn.promotion.core.service.PromotionWebhookService
-
Processes the webhook data provided in the
WebhookRequest. - PRODUCT - Enum constant in enum class org.bhn.promotion.voucherify.enums.ApplicableObjectEnum
- PRODUCT_ID - Enum constant in enum class org.bhn.promotion.core.enums.PromotionMetaDataKey
- PRODUCT_NAME - Enum constant in enum class org.bhn.promotion.core.enums.PromotionMetaDataKey
- PRODUCT_UPC - Enum constant in enum class org.bhn.promotion.core.enums.PromotionMetaDataKey
- productCollectionsApi() - Method in class org.bhn.promotion.voucherify.config.VoucherifyConfiguration
-
Creates a ProductCollectionsApi instance for managing productCollections in Voucherify.
- ProductDiscountDto - Class in org.bhn.promotion.voucherify.model.common
-
Represents a product associated with a discount.
- ProductDiscountDto() - Constructor for class org.bhn.promotion.voucherify.model.common.ProductDiscountDto
- ProductMapper - Interface in org.bhn.promotion.voucherify.mapper
-
Mapper interface for converting between Voucherify product models and PMS product models.
- productResponseToProductModel(ProductsCreateResponseBody) - Method in interface org.bhn.promotion.voucherify.mapper.ProductMapper
-
Converts a ProductsCreateResponseBody from Voucherify to a PMSProductModel.
- productResponseToProductModel(ProductsGetResponseBody) - Method in interface org.bhn.promotion.voucherify.mapper.ProductMapper
-
Converts a ProductsGetResponseBody from Voucherify to a PMSProductModel.
- productResponseToProductModel(ProductsUpdateResponseBody) - Method in interface org.bhn.promotion.voucherify.mapper.ProductMapper
-
Converts a ProductsUpdateResponseBody from Voucherify to a PMSProductModel.
- PRODUCTS - Enum constant in enum class org.bhn.promotion.voucherify.enums.EligibilityScenarioEnum
- PRODUCTS_BY_CUSTOMER - Enum constant in enum class org.bhn.promotion.voucherify.enums.EligibilityScenarioEnum
- PRODUCTS_COLLECTION - Enum constant in enum class org.bhn.promotion.voucherify.enums.ApplicableObjectEnum
- PRODUCTS_DISCOUNT - Enum constant in enum class org.bhn.promotion.voucherify.enums.EligibilityScenarioEnum
- PRODUCTS_DISCOUNT_BY_CUSTOMER - Enum constant in enum class org.bhn.promotion.voucherify.enums.EligibilityScenarioEnum
- productsApi() - Method in class org.bhn.promotion.voucherify.config.VoucherifyConfiguration
-
Creates a ProductsApi instance for managing products in Voucherify.
- ProductSkuMapper - Interface in org.bhn.promotion.voucherify.mapper
-
Mapper interface for converting between Voucherify SKU models and PMS product SKU models.
- ProductVariant() - Constructor for class org.bhn.promotion.core.model.andor.AndorCommerceProductResponse.ProductVariant
- Promo - Class in org.bhn.promotion.core.model.pricing
-
The
Promoclass encapsulates all relevant details of a promotion, such as the promo code, its value, the type of discount applied, and the effect the promo has on the order. - Promo() - Constructor for class org.bhn.promotion.core.model.pricing.Promo
- PROMO_ERROR_MESSAGE - Static variable in class org.bhn.promotion.core.constants.ValidationConstants
- PROMO_PATTERN - Static variable in class org.bhn.promotion.core.constants.ValidationConstants
- PromoMapper - Interface in org.bhn.promotion.core.mapper
-
PromoMapper is a MapStruct mapper interface used for mapping and transforming Promo objects.
- PromoMapperImpl - Class in org.bhn.promotion.core.mapper
- PromoMapperImpl() - Constructor for class org.bhn.promotion.core.mapper.PromoMapperImpl
- PromoSummary - Class in org.bhn.promotion.core.model.pricing
-
Represents a summary of promotions applied to an order.
- PromoSummary() - Constructor for class org.bhn.promotion.core.model.pricing.PromoSummary
- PROMOTION - Enum constant in enum class org.bhn.promotion.core.enums.PromotionMetaDataKey
- PROMOTION - Enum constant in enum class org.bhn.promotion.voucherify.enums.ObjectTypeEnum
- PROMOTION_CODE_AUTO_APPLY - Static variable in class org.bhn.promotion.core.utils.PromotionUtil
- PROMOTION_CODE_SHIPPING - Static variable in class org.bhn.promotion.core.utils.PromotionUtil
- PROMOTION_EFFECT - Enum constant in enum class org.bhn.promotion.core.enums.PromotionMetaDataKey
- PROMOTION_FEE - Enum constant in enum class org.bhn.promotion.core.enums.PromotionMetaDataKey
- PROMOTION_FUNDING - Enum constant in enum class org.bhn.promotion.core.enums.PromotionMetaDataKey
- PROMOTION_INACTIVE - Enum constant in enum class org.bhn.promotion.voucherify.exception.ApiErrorDetails
- PROMOTION_NOT_ACTIVE_NOW - Enum constant in enum class org.bhn.promotion.voucherify.exception.ApiErrorDetails
- PROMOTION_RULES_VIOLATED - Enum constant in enum class org.bhn.promotion.core.enums.ErrorKey
- PROMOTION_STACK - Enum constant in enum class org.bhn.promotion.voucherify.enums.RedeemableObjectEnum
- PROMOTION_STACKS - Enum constant in enum class org.bhn.promotion.voucherify.enums.EligibilityScenarioEnum
- PROMOTION_TIER - Enum constant in enum class org.bhn.promotion.voucherify.enums.RedeemableObjectEnum
- PROMOTION_TIER_NOT_ACCESSIBLE - Enum constant in enum class org.bhn.promotion.voucherify.exception.ApiErrorDetails
- PROMOTION_TIER_NOT_FOUND - Enum constant in enum class org.bhn.promotion.voucherify.exception.ApiErrorDetails
- PromotionBudgetDTO - Class in org.bhn.promotion.core.model.budget
- PromotionBudgetDTO() - Constructor for class org.bhn.promotion.core.model.budget.PromotionBudgetDTO
- PromotionBudgetModel - Class in org.bhn.promotion.core.model.campaign
-
This class represents a model for managing and tracking the budget of a promotional campaign.
- PromotionBudgetModel() - Constructor for class org.bhn.promotion.core.model.campaign.PromotionBudgetModel
- PromotionConfiguration - Class in org.bhn.promotion.core.config
-
The class contains configuration for the Promotion module.
- PromotionConfiguration(String, String, String, String, String, String, String, String, String, String, ObjectProvider<WebClient.Builder>) - Constructor for class org.bhn.promotion.core.config.PromotionConfiguration
-
Constructs a new
PromotionConfigurationinstance. - PromotionDiscountDto - Class in org.bhn.promotion.voucherify.model.common
-
Represents a discount applied to a promotion.
- PromotionDiscountDto() - Constructor for class org.bhn.promotion.voucherify.model.common.PromotionDiscountDto
- promotionEngine() - Method in class org.bhn.promotion.voucherify.config.VoucherifyConfiguration
-
Creates a primary PromotionEngine bean for managing promotions in Voucherify.
- PromotionEngine - Interface in org.bhn.promotion.core.engine
-
PromotionEngine interface.
- PromotionException - Exception in org.bhn.promotion.core.exception
-
PromotionException implementation
- PromotionException(String, Throwable) - Constructor for exception org.bhn.promotion.core.exception.PromotionException
- promotionExportService() - Method in class org.bhn.promotion.voucherify.config.VoucherifyConfiguration
-
Creates a primary bean for the PromotionExportService.
- PromotionExportService - Interface in org.bhn.promotion.core.service
-
The
PromotionExportServiceinterface defines operations for scheduling and downloading reports. - PromotionFundingMetadata - Class in org.bhn.promotion.voucherify.model.metadata
-
Promotion funding metadata defining the financial structure of promotions.
- PromotionFundingMetadata() - Constructor for class org.bhn.promotion.voucherify.model.metadata.PromotionFundingMetadata
- PromotionMetadata - Class in org.bhn.promotion.voucherify.model.metadata
-
Core promotion metadata containing essential promotion configuration.
- PromotionMetadata() - Constructor for class org.bhn.promotion.voucherify.model.metadata.PromotionMetadata
- PromotionMetaDataKey - Enum Class in org.bhn.promotion.core.enums
-
The Enum to store Promotion MetaData Keys
- promotionOperation() - Method in class org.bhn.promotion.voucherify.config.VoucherifyConfiguration
-
Creates a primary PromotionOperation bean for executing promotion-related operations.
- PromotionOperation - Interface in org.bhn.promotion.core.operation
-
PromotionOperation interface.
- PromotionProductModel - Class in org.bhn.promotion.core.model.promotions
-
Represents a model for a product associated with a promotion.
- PromotionProductModel() - Constructor for class org.bhn.promotion.core.model.promotions.PromotionProductModel
- promotionProductService() - Method in class org.bhn.promotion.voucherify.config.VoucherifyConfiguration
-
Creates a primary PromotionProductService bean using VoucherifyClient.
- PromotionProductService - Interface in org.bhn.promotion.core.service
-
The
PromotionProductServiceinterface defines the operation for managing products and product SKUs (Stock Keeping Units) within the promotion service. - PromotionQuoteRequest - Class in org.bhn.promotion.core.model.pricing
-
This class encapsulates all the details necessary to generate a pricing quote based on an order.
- PromotionQuoteRequest() - Constructor for class org.bhn.promotion.core.model.pricing.PromotionQuoteRequest
- promotionsApi() - Method in class org.bhn.promotion.voucherify.config.VoucherifyConfiguration
-
Creates a PromotionsApi instance for managing promotions in Voucherify.
- promotionServiceProxy() - Method in class org.bhn.promotion.voucherify.config.VoucherifyConfiguration
-
Creates a
PromotionServiceProxybean that acts as a proxy for interacting with the Promotion Service. - PromotionServiceProxy - Class in org.bhn.promotion.core.proxy
-
Proxy class for interacting with the Promotion Service API.
- PromotionServiceProxy() - Constructor for class org.bhn.promotion.core.proxy.PromotionServiceProxy
- PromotionTier() - Constructor for class org.bhn.promotion.voucherify.model.RedeemPromotionResponseDto.PromotionTier
- PromotionTier() - Constructor for class org.bhn.promotion.voucherify.model.RedemptionRollbackResponseDto.PromotionTier
- PromotionTierAction() - Constructor for class org.bhn.promotion.voucherify.model.RedeemPromotionResponseDto.PromotionTierAction
- PromotionTierAction() - Constructor for class org.bhn.promotion.voucherify.model.RedemptionRollbackResponseDto.PromotionTierAction
- PromotionTierActionMapper - Interface in org.bhn.promotion.voucherify.mapper
-
Mapper interface for converting a
PromotionTierActionto aPromotionTierActionModel. - PromotionTierActionModel - Class in org.bhn.promotion.core.model.campaign
-
Represents an action model for a promotion tier.
- PromotionTierActionModel() - Constructor for class org.bhn.promotion.core.model.campaign.PromotionTierActionModel
- PromotionTierCampaign() - Constructor for class org.bhn.promotion.voucherify.model.RedeemPromotionResponseDto.PromotionTierCampaign
- PromotionTierCampaign() - Constructor for class org.bhn.promotion.voucherify.model.RedemptionRollbackResponseDto.PromotionTierCampaign
- PromotionTierMapper - Interface in org.bhn.promotion.voucherify.mapper
-
Mapper interface for converting between PromotionTier and PromotionTierModel as well as their related request and response bodies.
- PromotionTierModel - Class in org.bhn.promotion.core.model.campaign
- PromotionTierModel() - Constructor for class org.bhn.promotion.core.model.campaign.PromotionTierModel
- PromotionTierSummary() - Constructor for class org.bhn.promotion.voucherify.model.RedeemPromotionResponseDto.PromotionTierSummary
- PromotionTierSummary() - Constructor for class org.bhn.promotion.voucherify.model.RedemptionRollbackResponseDto.PromotionTierSummary
- PromotionTierSummaryModel - Class in org.bhn.promotion.core.model.campaign
- PromotionTierSummaryModel() - Constructor for class org.bhn.promotion.core.model.campaign.PromotionTierSummaryModel
- PromotionTierSummaryOrders() - Constructor for class org.bhn.promotion.voucherify.model.RedeemPromotionResponseDto.PromotionTierSummaryOrders
- PromotionTierSummaryOrdersModel - Class in org.bhn.promotion.core.model.campaign
- PromotionTierSummaryOrdersModel() - Constructor for class org.bhn.promotion.core.model.campaign.PromotionTierSummaryOrdersModel
- PromotionTierSummaryRedemptions() - Constructor for class org.bhn.promotion.voucherify.model.RedeemPromotionResponseDto.PromotionTierSummaryRedemptions
- PromotionTierSummaryRedemptionsModel - Class in org.bhn.promotion.core.model.campaign
- PromotionTierSummaryRedemptionsModel() - Constructor for class org.bhn.promotion.core.model.campaign.PromotionTierSummaryRedemptionsModel
- PromotionUtil - Class in org.bhn.promotion.core.utils
-
PromotionUtil utility methods
- PromotionWebhookService - Interface in org.bhn.promotion.core.service
-
The
PromotionWebhookServiceinterface provides a contract for processing webhooks received from external sources. - PromotionWorkflow - Class in org.bhn.promotion.core.workflow
-
PromotionWorkflow implementation.
- PromotionWorkflow() - Constructor for class org.bhn.promotion.core.workflow.PromotionWorkflow
- PUBLICATION_RULES_VIOLATED - Enum constant in enum class org.bhn.promotion.voucherify.exception.ApiErrorDetails
Q
- QualificationEngine - Class in org.bhn.promotion.voucherify.engine
-
QualificationEngine implementation
- QualificationEngine(VoucherifyClient) - Constructor for class org.bhn.promotion.voucherify.engine.QualificationEngine
- qualificationsApi() - Method in class org.bhn.promotion.voucherify.config.VoucherifyConfiguration
-
Creates a QualificationsApi instance for managing qualifications in Voucherify.
- QualificationsCheckEligibilityResponseBodyOrder() - Constructor for class org.bhn.promotion.voucherify.model.CheckPromotionEligibilityResponseDto.QualificationsCheckEligibilityResponseBodyOrder
- QualificationsFieldConditions() - Constructor for class org.bhn.promotion.voucherify.model.CheckPromotionEligibilityRequestDto.QualificationsFieldConditions
- QualificationsFiltersCondition() - Constructor for class org.bhn.promotion.voucherify.model.CheckPromotionEligibilityRequestDto.QualificationsFiltersCondition
- QualificationsOption() - Constructor for class org.bhn.promotion.voucherify.model.CheckPromotionEligibilityRequestDto.QualificationsOption
- QualificationsOptionFilters() - Constructor for class org.bhn.promotion.voucherify.model.CheckPromotionEligibilityRequestDto.QualificationsOptionFilters
- QualificationsOptionFiltersCampaignType() - Constructor for class org.bhn.promotion.voucherify.model.CheckPromotionEligibilityRequestDto.QualificationsOptionFiltersCampaignType
- QualificationsOptionFiltersCampaignTypeConditions() - Constructor for class org.bhn.promotion.voucherify.model.CheckPromotionEligibilityRequestDto.QualificationsOptionFiltersCampaignTypeConditions
- QualificationsRedeemable() - Constructor for class org.bhn.promotion.voucherify.model.CheckPromotionEligibilityResponseDto.QualificationsRedeemable
- QualificationsRedeemableBase() - Constructor for class org.bhn.promotion.voucherify.model.CheckPromotionEligibilityResponseDto.QualificationsCheckEligibilityResponseBodyOrder.QualificationsRedeemableBase
- QualificationsRedeemableBaseOrder() - Constructor for class org.bhn.promotion.voucherify.model.CheckPromotionEligibilityResponseDto.QualificationsCheckEligibilityResponseBodyOrder.QualificationsRedeemableBaseOrder
- QualificationsRedeemableBaseOrderItemsItem() - Constructor for class org.bhn.promotion.voucherify.model.CheckPromotionEligibilityResponseDto.QualificationsCheckEligibilityResponseBodyOrder.QualificationsRedeemableBaseOrderItemsItem
- QualificationsRedeemableOrder() - Constructor for class org.bhn.promotion.voucherify.model.CheckPromotionEligibilityResponseDto.QualificationsRedeemableOrder
- QualificationsRedeemableOrderItemsItem() - Constructor for class org.bhn.promotion.voucherify.model.CheckPromotionEligibilityResponseDto.QualificationsRedeemableOrderItemsItem
- QualificationsRedeemables() - Constructor for class org.bhn.promotion.voucherify.model.CheckPromotionEligibilityResponseDto.QualificationsRedeemables
- QUANTITY - Enum constant in enum class org.bhn.promotion.core.enums.PromotionMetaDataKey
- QUANTITY_EXCEEDED - Enum constant in enum class org.bhn.promotion.voucherify.exception.ApiErrorDetails
- QUERY_TOO_LARGE - Enum constant in enum class org.bhn.promotion.voucherify.exception.ApiErrorDetails
R
- readFromJson(String) - Static method in class org.bhn.promotion.voucherify.utils.VoucherifyMockUtil
-
Reads a JSON file from the resources directory and returns its input stream.
- Receiver - Class in org.bhn.promotion.core.model.pricing
-
This class holds the receiver's personal information including their first, middle, and last name, as well as their business name
- Receiver() - Constructor for class org.bhn.promotion.core.model.pricing.Receiver
- redeem(RedemptionRequestDto) - Method in class org.bhn.promotion.bhn.operation.BHNPromotionOperation
- redeem(RedemptionRequestDto) - Method in interface org.bhn.promotion.core.operation.PromotionOperation
- redeem(RedemptionRequestDto) - Method in class org.bhn.promotion.voucherify.operation.VoucherifyPromotionOperation
- REDEEM - Static variable in class org.bhn.promotion.core.constants.ValidationConstants
- REDEEMABLE - Enum constant in enum class org.bhn.promotion.voucherify.enums.ExpandEnum
- RedeemableObjectEnum - Enum Class in org.bhn.promotion.voucherify.enums
-
Enum representing redeemable object types.
- RedeemableResult() - Constructor for class org.bhn.promotion.voucherify.model.CheckPromotionEligibilityResponseDto.RedeemableResult
- redeemPromotion(PromotionQuoteRequest) - Method in class org.bhn.promotion.core.workflow.PromotionWorkflow
-
This method allows you redeem promotions supplied in a cart and return the final Promotion summary after the promotions are redeemed
- redeemPromotion(RedemptionRequestDto) - Method in class org.bhn.promotion.bhn.engine.BHNPromotionEngine
-
Redeem the promotion as requested
- redeemPromotion(RedemptionRequestDto) - Method in interface org.bhn.promotion.core.engine.PromotionEngine
-
Redeem the promotion as requested
- redeemPromotion(RedemptionRequestDto) - Method in class org.bhn.promotion.voucherify.engine.RedemptionEngine
-
This method allows you redeem promotions supplied in a cart and return the final response after the promotions are redeemed
- redeemPromotion(RedemptionRequestDto) - Method in class org.bhn.promotion.voucherify.engine.VoucherifyPromotionEngine
-
Redeem the promotion as requested
- RedeemPromotionRequestDto - Class in org.bhn.promotion.voucherify.model
-
Represents the request body for redeeming promotions or vouchers, including redeemables, order, customer, session, and optional expansion settings.
- RedeemPromotionRequestDto() - Constructor for class org.bhn.promotion.voucherify.model.RedeemPromotionRequestDto
- RedeemPromotionRequestDto.RedemptionsRedeemRequestBodyOptions - Class in org.bhn.promotion.voucherify.model
- RedeemPromotionRequestDto.RedemptionsRedeemRequestBodyRedeemablesItem - Class in org.bhn.promotion.voucherify.model
- RedeemPromotionResponseDto - Class in org.bhn.promotion.voucherify.model
-
Represents the response returned after redeeming promotions or vouchers, including redemption results, order details, applied discounts, skipped or inapplicable redeemables, and related redemption metadata.
- RedeemPromotionResponseDto() - Constructor for class org.bhn.promotion.voucherify.model.RedeemPromotionResponseDto
- RedeemPromotionResponseDto.Category - Class in org.bhn.promotion.voucherify.model
- RedeemPromotionResponseDto.PromotionTier - Class in org.bhn.promotion.voucherify.model
- RedeemPromotionResponseDto.PromotionTierAction - Class in org.bhn.promotion.voucherify.model
- RedeemPromotionResponseDto.PromotionTierCampaign - Class in org.bhn.promotion.voucherify.model
- RedeemPromotionResponseDto.PromotionTierSummary - Class in org.bhn.promotion.voucherify.model
- RedeemPromotionResponseDto.PromotionTierSummaryOrders - Class in org.bhn.promotion.voucherify.model
- RedeemPromotionResponseDto.PromotionTierSummaryRedemptions - Class in org.bhn.promotion.voucherify.model
- RedeemPromotionResponseDto.Redemption - Class in org.bhn.promotion.voucherify.model
- RedeemPromotionResponseDto.RedemptionChannel - Class in org.bhn.promotion.voucherify.model
- RedeemPromotionResponseDto.RedemptionOrder - Class in org.bhn.promotion.voucherify.model
- RedeemPromotionResponseDto.RedemptionOrderCustomer - Class in org.bhn.promotion.voucherify.model
- RedeemPromotionResponseDto.RedemptionOrderReferrer - Class in org.bhn.promotion.voucherify.model
- RedeemPromotionResponseDto.RedemptionRelatedRedemptions - Class in org.bhn.promotion.voucherify.model
- RedeemPromotionResponseDto.RedemptionRelatedRedemptionsRedemptionsItem - Class in org.bhn.promotion.voucherify.model
- RedeemPromotionResponseDto.RedemptionRelatedRedemptionsRollbacksItem - Class in org.bhn.promotion.voucherify.model
- RedeemPromotionResponseDto.RedemptionVoucher - Class in org.bhn.promotion.voucherify.model
- RedeemPromotionResponseDto.RedemptionVoucherRedemption - Class in org.bhn.promotion.voucherify.model
- RedeemPromotionResponseDto.SimpleProductDiscountUnit - Class in org.bhn.promotion.voucherify.model
- redeemStackedDiscounts(RedeemPromotionRequestDto) - Method in class org.bhn.promotion.voucherify.clients.VoucherifyApiClient
-
Redeems stacked discounts via Voucherify API.
- redeemStackedDiscounts(RedeemPromotionRequestDto) - Method in class org.bhn.promotion.voucherify.engine.VoucherifyClient
-
This method invokes voucherify api and Redeems promotion with retry mechanism
- Redemption() - Constructor for class org.bhn.promotion.voucherify.model.RedeemPromotionResponseDto.Redemption
- Redemption() - Constructor for class org.bhn.promotion.voucherify.model.VoucherifyRedemptionResponse.Redemption
- REDEMPTION - Enum constant in enum class org.bhn.promotion.voucherify.enums.ExpandEnum
- REDEMPTION - Enum constant in enum class org.bhn.promotion.voucherify.enums.ObjectTypeEnum
- REDEMPTION_CONDITIONS_NOT_MET - Enum constant in enum class org.bhn.promotion.voucherify.exception.ApiErrorDetails
- REDEMPTION_ERROR - Enum constant in enum class org.bhn.promotion.voucherify.exception.ApiErrorDetails
- REDEMPTION_FLOW_ERROR - Static variable in class org.bhn.promotion.voucherify.engine.RedemptionEngine
- REDEMPTION_LIMIT_EXCEEDED - Enum constant in enum class org.bhn.promotion.core.enums.ErrorKey
- REDEMPTION_ROLLBACK - Enum constant in enum class org.bhn.promotion.voucherify.enums.ObjectTypeEnum
- REDEMPTION_ROLLBACK_ERROR - Enum constant in enum class org.bhn.promotion.voucherify.exception.ApiErrorDetails
- REDEMPTION_RULES_VIOLATED - Enum constant in enum class org.bhn.promotion.voucherify.exception.ApiErrorDetails
- REDEMPTION_TOO_OLD - Enum constant in enum class org.bhn.promotion.voucherify.exception.ApiErrorDetails
- RedemptionChannel() - Constructor for class org.bhn.promotion.voucherify.model.RedeemPromotionResponseDto.RedemptionChannel
- RedemptionEngine - Class in org.bhn.promotion.voucherify.engine
-
RedemptionEngine implementation
- RedemptionEngine(VoucherifyClient) - Constructor for class org.bhn.promotion.voucherify.engine.RedemptionEngine
-
Constructs a
RedemptionEnginewith the specifiedVoucherifyClient - RedemptionModel - Class in org.bhn.promotion.core.model.promotions
-
The
RedemptionModelis used to encapsulate the details of a single redemption operation for a given promotion. - RedemptionModel() - Constructor for class org.bhn.promotion.core.model.promotions.RedemptionModel
- RedemptionOrder() - Constructor for class org.bhn.promotion.voucherify.model.RedeemPromotionResponseDto.RedemptionOrder
- RedemptionOrderCustomer() - Constructor for class org.bhn.promotion.voucherify.model.RedeemPromotionResponseDto.RedemptionOrderCustomer
- RedemptionOrderReferrer() - Constructor for class org.bhn.promotion.voucherify.model.RedeemPromotionResponseDto.RedemptionOrderReferrer
- RedemptionRelatedRedemptions() - Constructor for class org.bhn.promotion.voucherify.model.RedeemPromotionResponseDto.RedemptionRelatedRedemptions
- RedemptionRelatedRedemptionsRedemptionsItem() - Constructor for class org.bhn.promotion.voucherify.model.RedeemPromotionResponseDto.RedemptionRelatedRedemptionsRedemptionsItem
- RedemptionRelatedRedemptionsRollbacksItem() - Constructor for class org.bhn.promotion.voucherify.model.RedeemPromotionResponseDto.RedemptionRelatedRedemptionsRollbacksItem
- RedemptionRequestDto - Class in org.bhn.promotion.voucherify.model
-
This class encapsulates the request data needed to process a redemption.
- RedemptionRequestDto(RedeemPromotionRequestDto) - Constructor for class org.bhn.promotion.voucherify.model.RedemptionRequestDto
- RedemptionResponseModel - Class in org.bhn.promotion.core.model.promotions
-
This model is used to encapsulate the response data returned after a redemption operation, such as redeeming a voucher or applying a promotion.
- RedemptionResponseModel() - Constructor for class org.bhn.promotion.core.model.promotions.RedemptionResponseModel
- RedemptionRollback() - Constructor for class org.bhn.promotion.voucherify.model.RedemptionRollbackResponseDto.RedemptionRollback
- RedemptionRollbackChannel() - Constructor for class org.bhn.promotion.voucherify.model.RedemptionRollbackResponseDto.RedemptionRollbackChannel
- RedemptionRollbackOrder() - Constructor for class org.bhn.promotion.voucherify.model.RedemptionRollbackResponseDto.RedemptionRollbackOrder
- RedemptionRollbackRequestDto - Class in org.bhn.promotion.voucherify.model
-
Request body used to create a rollback for a redemption, including reason, customer, order, and optional metadata.
- RedemptionRollbackRequestDto() - Constructor for class org.bhn.promotion.voucherify.model.RedemptionRollbackRequestDto
- RedemptionRollbackResponseDto - Class in org.bhn.promotion.voucherify.model
-
Response returned after rolling back a redemption.
- RedemptionRollbackResponseDto() - Constructor for class org.bhn.promotion.voucherify.model.RedemptionRollbackResponseDto
- RedemptionRollbackResponseDto.Category - Class in org.bhn.promotion.voucherify.model
- RedemptionRollbackResponseDto.PromotionTier - Class in org.bhn.promotion.voucherify.model
- RedemptionRollbackResponseDto.PromotionTierAction - Class in org.bhn.promotion.voucherify.model
- RedemptionRollbackResponseDto.PromotionTierCampaign - Class in org.bhn.promotion.voucherify.model
- RedemptionRollbackResponseDto.PromotionTierSummary - Class in org.bhn.promotion.voucherify.model
- RedemptionRollbackResponseDto.RedemptionRollback - Class in org.bhn.promotion.voucherify.model
- RedemptionRollbackResponseDto.RedemptionRollbackChannel - Class in org.bhn.promotion.voucherify.model
- RedemptionRollbackResponseDto.RedemptionRollbackOrder - Class in org.bhn.promotion.voucherify.model
- RedemptionRollbackResponseDto.Voucher - Class in org.bhn.promotion.voucherify.model
- RedemptionRollbackResponseDto.VoucherRedemption - Class in org.bhn.promotion.voucherify.model
- redemptionsApi() - Method in class org.bhn.promotion.voucherify.config.VoucherifyConfiguration
-
Creates a RedemptionsApi instance for managing redemptions in Voucherify.
- RedemptionsRedeemRequestBodyOptions() - Constructor for class org.bhn.promotion.voucherify.model.RedeemPromotionRequestDto.RedemptionsRedeemRequestBodyOptions
- RedemptionsRedeemRequestBodyRedeemablesItem() - Constructor for class org.bhn.promotion.voucherify.model.RedeemPromotionRequestDto.RedemptionsRedeemRequestBodyRedeemablesItem
- RedemptionVoucher() - Constructor for class org.bhn.promotion.voucherify.model.RedeemPromotionResponseDto.RedemptionVoucher
- RedemptionVoucherRedemption() - Constructor for class org.bhn.promotion.voucherify.model.RedeemPromotionResponseDto.RedemptionVoucherRedemption
- REFERRER_NOT_PERMITTED_TO_REDEEM - Enum constant in enum class org.bhn.promotion.voucherify.exception.ApiErrorDetails
- REGEX_END - Static variable in class org.bhn.promotion.core.constants.ValidationConstants
- REGEX_START - Static variable in class org.bhn.promotion.core.constants.ValidationConstants
- REJECTED_STATUSES - Static variable in class org.bhn.promotion.core.constants.OrderStatusConstants
- RELATED_OBJECT_ID - Static variable in class org.bhn.promotion.voucherify.constants.VoucherifyFieldNameConstants
- RELATED_OBJECT_TYPE - Static variable in class org.bhn.promotion.voucherify.constants.VoucherifyFieldNameConstants
- removeAutoApplyPromoDetails(PromotionQuoteRequest) - Static method in class org.bhn.promotion.core.utils.PromotionUtil
-
Remove promo details with code AUTO
- removePromotionsWithTypePromotion(PromoSummary) - Static method in class org.bhn.promotion.core.utils.PromotionUtil
-
Remove promo details with Promotion type PROMOTION
- removeShippingPromoDetails(PromotionQuoteRequest) - Static method in class org.bhn.promotion.core.utils.PromotionUtil
-
Remove promo details with code SHIPPING
- RESOURCE_IN_USE - Enum constant in enum class org.bhn.promotion.voucherify.exception.ApiErrorDetails
- RESOURCE_LOCKED - Enum constant in enum class org.bhn.promotion.voucherify.exception.ApiErrorDetails
- RESOURCE_NOT_FOUND - Enum constant in enum class org.bhn.promotion.voucherify.exception.ApiErrorDetails
- RESOURCE_PROTECTED - Enum constant in enum class org.bhn.promotion.voucherify.exception.ApiErrorDetails
- retryTemplate() - Method in class org.bhn.promotion.core.config.PromotionConfiguration
- rollback(RollbackRequest) - Method in class org.bhn.promotion.bhn.operation.BHNPromotionOperation
- rollback(RollbackRequest) - Method in interface org.bhn.promotion.core.operation.PromotionOperation
- rollback(RollbackRequest) - Method in class org.bhn.promotion.voucherify.operation.VoucherifyPromotionOperation
- ROLLBACK - Static variable in class org.bhn.promotion.core.constants.ValidationConstants
- ROLLBACK_FLOW_ERROR - Static variable in class org.bhn.promotion.voucherify.engine.RollbackEngine
- RollbackDTO - Class in org.bhn.promotion.core.model.promotions
-
DTO representing the details of a rollback operation, including redemption IDs, business flow, and status.
- RollbackDTO() - Constructor for class org.bhn.promotion.core.model.promotions.RollbackDTO
- RollbackDTOMessageWrapper - Class in org.bhn.promotion.core.model.promotions
-
Wrapper class for RollbackDTO messages.
- RollbackDTOMessageWrapper() - Constructor for class org.bhn.promotion.core.model.promotions.RollbackDTOMessageWrapper
- RollbackEngine - Class in org.bhn.promotion.voucherify.engine
-
RollbackEngine implementation
- RollbackEngine(VoucherifyClient) - Constructor for class org.bhn.promotion.voucherify.engine.RollbackEngine
-
Constructs a
RollbackEnginewith the specifiedVoucherifyClient - RollbackException - Exception in org.bhn.promotion.core.exception
-
Represents an exception that indicates a rollback scenario in the application.
- RollbackException(String) - Constructor for exception org.bhn.promotion.core.exception.RollbackException
- RollbackException(String, Throwable) - Constructor for exception org.bhn.promotion.core.exception.RollbackException
- rollbackFailedRedemptions(PromoSummary, String) - Method in class org.bhn.promotion.core.service.RollbackService
-
Asynchronously rolls back failed redemptions based on the provided promotion summary and order ID.
- RollbackModel - Class in org.bhn.promotion.core.model.promotions
-
Represents the model for a rollback operation during a redemption process.
- RollbackModel() - Constructor for class org.bhn.promotion.core.model.promotions.RollbackModel
- RollbackOrderModeEnum - Enum Class in org.bhn.promotion.voucherify.enums
-
Enum representing rollback order mode.
- rollbackPromotion(RollbackRequest) - Method in class org.bhn.promotion.bhn.engine.BHNPromotionEngine
-
Rollback the applied promotion
- rollbackPromotion(RollbackRequest) - Method in interface org.bhn.promotion.core.engine.PromotionEngine
-
Rollback the applied promotion
- rollbackPromotion(RollbackRequest) - Method in class org.bhn.promotion.core.workflow.PromotionWorkflow
-
This method allows you to rollback the promotions which were applied on a cart
- rollbackPromotion(RollbackRequest) - Method in class org.bhn.promotion.voucherify.engine.RollbackEngine
-
This method allows you to rollback the promotions which were applied on a cart
- rollbackPromotion(RollbackRequest) - Method in class org.bhn.promotion.voucherify.engine.VoucherifyPromotionEngine
-
Rollback the applied promotion
- RollbackRedemptionSummary - Class in org.bhn.promotion.core.model.pricing
-
Represents the summary of a rollback redemption process.
- RollbackRedemptionSummary() - Constructor for class org.bhn.promotion.core.model.pricing.RollbackRedemptionSummary
- RollbackRequest - Class in org.bhn.promotion.core.model.pricing
-
RollbackRequest implementation.
- RollbackRequest() - Constructor for class org.bhn.promotion.core.model.pricing.RollbackRequest
- RollbackRequestV3 - Class in org.bhn.promotion.core.model.pricing
-
RollbackRequestV3 implementation.
- RollbackRequestV3() - Constructor for class org.bhn.promotion.core.model.pricing.RollbackRequestV3
- RollbackRequestV3Mapper - Interface in org.bhn.promotion.core.mapper
-
Mapper interface for converting RollbackRequest to RollbackRequestV3.
- RollbackRequestV3MapperImpl - Class in org.bhn.promotion.core.mapper
- RollbackRequestV3MapperImpl() - Constructor for class org.bhn.promotion.core.mapper.RollbackRequestV3MapperImpl
- RollbackResponseModel - Class in org.bhn.promotion.core.model.promotions
-
The
RollbackResponseModelclass encapsulates the result of a rollback operation, which may involve undoing the effects of a promotion, voucher redemption, or discount application. - RollbackResponseModel() - Constructor for class org.bhn.promotion.core.model.promotions.RollbackResponseModel
- RollbackRetryService - Class in org.bhn.promotion.core.service
-
Service responsible for handling retryable rollback operations.
- RollbackRetryService() - Constructor for class org.bhn.promotion.core.service.RollbackRetryService
- rollbackRollbackResponse(String) - Static method in class org.bhn.promotion.voucherify.utils.VoucherifyMockUtil
-
This class creates Rollback response object from json
- RollbackService - Class in org.bhn.promotion.core.service
-
Service responsible for handling rollback operations and sending rollback failure messages to SQS.
- RollbackService() - Constructor for class org.bhn.promotion.core.service.RollbackService
- rollbackStackedRedemptions(String, String, RedemptionRollbackRequestDto) - Method in class org.bhn.promotion.voucherify.clients.VoucherifyApiClient
-
Rollbacks stacked redemptions via Voucherify API.
- rollbackStackedRedemptions(String, String, RedemptionRollbackRequestDto) - Method in class org.bhn.promotion.voucherify.engine.VoucherifyClient
-
This method invokes voucherify api and Rollbacks promotion
- ROLLED_BACK - Enum constant in enum class org.bhn.promotion.voucherify.enums.StatusEnum
- RSQL_QUERY_PREFIX - Static variable in class org.bhn.promotion.core.constants.GraphQLRequestConstants
- RSQL_QUERY_VARIABLE - Static variable in class org.bhn.promotion.core.constants.GraphQLRequestConstants
- RULES - Static variable in class org.bhn.promotion.voucherify.constants.VoucherifyFieldNameConstants
- RULES_VIOLATED - Enum constant in enum class org.bhn.promotion.voucherify.exception.ApiErrorDetails
S
- safeConvertJsonStringToCommonPromoMetadata(String) - Static method in class org.bhn.promotion.core.utils.PromotionUtil
-
Safely converts a JSON string to a CommonPromoMetadata object without throwing exceptions.
- safeConvertJsonStringToMap(String) - Static method in class org.bhn.promotion.core.utils.PromotionUtil
-
Safely converts a JSON string to a Map<String, Object> without throwing exceptions.
- safeConvertObjectToMap(Object) - Static method in class org.bhn.promotion.core.utils.PromotionUtil
-
Safely converts a object to a Map<String, Object> without throwing exceptions.
- sanitizeAndWrapInHtml(String) - Static method in class org.bhn.promotion.core.utils.ConversionUtil
-
Escapes HTML characters in the input text and wraps it inside a styled HTML <div> and <p> tag block.
- sanitizeItemLevelRequestBasedOnUseBhnPromoService(PromotionQuoteRequest, Map<String, String>) - Static method in class org.bhn.promotion.core.utils.PromotionUtil
-
Sanitize the item level request based on the useBhnPromoService metadata.
- saveOrder(OrderDTO, String) - Method in class org.bhn.promotion.core.proxy.PromotionServiceProxy
- saveRollback(RollbackDTO, String) - Method in class org.bhn.promotion.core.proxy.PromotionServiceProxy
-
Saves a
RollbackDTOobject by sending an HTTP POST request to the Promotion service. - scaleDecimal(BigDecimal) - Static method in class org.bhn.promotion.core.utils.PromotionUtil
- SearchOrdersByTenantIdWithPaginationAndSorting() - Constructor for class org.bhn.promotion.core.model.promotions.GraphQLResponse.Data.SearchOrdersByTenantIdWithPaginationAndSorting
- Sender - Class in org.bhn.promotion.core.model.pricing
-
This class encapsulates the details of the entity or individual who is placing an order.
- Sender() - Constructor for class org.bhn.promotion.core.model.pricing.Sender
- Sender() - Constructor for class org.bhn.promotion.core.model.promotions.GraphQLResponse.Data.SearchOrdersByTenantIdWithPaginationAndSorting.Order.Sender
- serialize(LocalDateTime, JsonGenerator, SerializerProvider) - Method in class org.bhn.promotion.core.config.LocalDateTimeToUtcStringSerializer
-
Serializes a LocalDateTime to a string formatted as UTC with milliseconds and 'Z' suffix.
- setBaseSummary(BigDecimal, String) - Static method in class org.bhn.promotion.core.utils.PromotionUtil
-
Creates and initializes a
BaseSummaryinstance with the provided value and currency. - setCategory(PimcorePromotionModel, List<Category>) - Static method in class org.bhn.promotion.core.utils.PromotionUtil
- setCurrency(String, String) - Static method in class org.bhn.promotion.core.utils.PromotionUtil
- setDefaultShippingFeePromoSummaryIfNotExist(PromoSummary) - Method in class org.bhn.promotion.voucherify.service.ShippingFeePromotionService
-
Sets a default shipping fee promotion summary to the provided promoSummary object only if the shippingFeePromoSummary does not already exist.
- setDescriptionAsDiscountType(PromoSummary) - Static method in class org.bhn.promotion.core.utils.PromotionUtil
-
Set Discount Type as Description in each Promo object
- setDiscountType(String) - Static method in class org.bhn.promotion.core.utils.PromotionUtil
- setParametersBasedOnExportType(String, ExportsCreateRequestBodyParameters, List<String>, List<String>) - Static method in class org.bhn.promotion.voucherify.utils.VoucherifyMockUtil
-
Sets parameters in the given
ExportsCreateRequestBodyParametersbased on the export type. - setPersonManagementProxy(PersonManagementProxy) - Method in class org.bhn.promotion.core.service.PersonManagementService
- setPromosBetaToPromotionQuoteRequest(PromotionQuoteRequest) - Static method in class org.bhn.promotion.core.utils.PromotionUtil
-
If Beta Promos are available then override PromotionQuoteRequest original promos
- setShippingFeeMetaData(PromotionQuoteRequest, EvaluationRequest) - Method in class org.bhn.promotion.voucherify.service.ShippingFeePromotionService
-
Sets the shipping fee metadata for the validation request.
- setShippingFeeMetaDataForRedemption(PromotionQuoteRequest, RedemptionRequestDto) - Method in class org.bhn.promotion.voucherify.service.ShippingFeePromotionService
-
Sets the shipping fee metadata for the redemption request.
- SHIPPING - Static variable in class org.bhn.promotion.core.constants.ValidationConstants
- SHIPPING_FEE - Enum constant in enum class org.bhn.promotion.core.enums.PromotionMetaDataKey
- SHIPPING_META_DATA - Enum constant in enum class org.bhn.promotion.core.enums.PromotionMetaDataKey
- SHIPPING_METHOD - Enum constant in enum class org.bhn.promotion.core.enums.PromotionMetaDataKey
- SHIPPING_PRODUCT_QUANTITY - Enum constant in enum class org.bhn.promotion.core.enums.PromotionMetaDataKey
- ShippingFee - Class in org.bhn.promotion.core.model.pricing
- ShippingFee() - Constructor for class org.bhn.promotion.core.model.pricing.ShippingFee
- ShippingFeePromotionService - Class in org.bhn.promotion.voucherify.service
-
Service class handles the logic for applying, updating, and managing shipping fee-related promotions.
- ShippingFeePromotionService() - Constructor for class org.bhn.promotion.voucherify.service.ShippingFeePromotionService
- SHORT_DESCRIPTION - Enum constant in enum class org.bhn.promotion.core.enums.PromotionMetaDataKey
- Signer - Class in org.bhn.promotion.core.model.pricing
- Signer() - Constructor for class org.bhn.promotion.core.model.pricing.Signer
- SimpleProductDiscountUnit() - Constructor for class org.bhn.promotion.voucherify.model.RedeemPromotionResponseDto.SimpleProductDiscountUnit
- SimpleProductDiscountUnitDto - Class in org.bhn.promotion.voucherify.model.common
-
DTO representing a minimal product discount unit.
- SimpleProductDiscountUnitDto() - Constructor for class org.bhn.promotion.voucherify.model.common.SimpleProductDiscountUnitDto
- SimpleProductDiscountUnitModel - Class in org.bhn.promotion.core.model.campaign
-
Represents a simple product discount unit model for promotional campaigns.
- SimpleProductDiscountUnitModel() - Constructor for class org.bhn.promotion.core.model.campaign.SimpleProductDiscountUnitModel
- SimpleSkuDiscountUnitDto - Class in org.bhn.promotion.voucherify.model.common
- SimpleSkuDiscountUnitDto() - Constructor for class org.bhn.promotion.voucherify.model.common.SimpleSkuDiscountUnitDto
- SimpleSkuDiscountUnitModel - Class in org.bhn.promotion.core.model.campaign
- SimpleSkuDiscountUnitModel() - Constructor for class org.bhn.promotion.core.model.campaign.SimpleSkuDiscountUnitModel
- SKIPPED - Enum constant in enum class org.bhn.promotion.voucherify.enums.ValidationStatusEnum
- SKU - Enum constant in enum class org.bhn.promotion.voucherify.enums.ApplicableObjectEnum
- skuResponseToProductSkuModel(ProductsSkusCreateResponseBody) - Method in interface org.bhn.promotion.voucherify.mapper.ProductSkuMapper
-
Converts a
ProductsSkusCreateResponseBodyto aPMSProductSkuModel. - SORT_BY - Static variable in class org.bhn.promotion.core.constants.GraphQLRequestConstants
- SORT_BY_VARIABLE - Static variable in class org.bhn.promotion.core.constants.GraphQLRequestConstants
- STATE - Enum constant in enum class org.bhn.promotion.core.enums.PromotionMetaDataKey
- Status() - Constructor for class org.bhn.promotion.core.model.promotions.GraphQLResponse.Data.SearchOrdersByTenantIdWithPaginationAndSorting.Order.Status
- StatusEnum - Enum Class in org.bhn.promotion.voucherify.enums
-
Enum representing redemption status.
- SUCCEEDED - Enum constant in enum class org.bhn.promotion.voucherify.enums.StatusEnum
- SUCCESS - Enum constant in enum class org.bhn.promotion.voucherify.enums.StatusEnum
- SUCCESS - Static variable in class org.bhn.promotion.core.constants.ValidationConstants
- SYSTEM - Enum constant in enum class org.bhn.promotion.voucherify.enums.BudgetUpdatedBy
T
- TargetEnum - Enum Class in org.bhn.promotion.voucherify.enums
-
Enum representing the target level at which a discount is applied.
- Tax - Class in org.bhn.promotion.core.model.pricing
- Tax() - Constructor for class org.bhn.promotion.core.model.pricing.Tax
- TENANT_ID - Enum constant in enum class org.bhn.promotion.core.enums.PromotionMetaDataKey
- TENANT_NAME - Enum constant in enum class org.bhn.promotion.core.enums.PromotionMetaDataKey
- TenantDTO - Class in org.bhn.promotion.core.model.tenant
-
DTO for representing tenant information.
- TenantDTO() - Constructor for class org.bhn.promotion.core.model.tenant.TenantDTO
- TERMS_CONDITIONS - Enum constant in enum class org.bhn.promotion.core.enums.PromotionMetaDataKey
- toCampaignsCreateRequestBody(CampaignModel) - Method in interface org.bhn.promotion.voucherify.mapper.VoucherifyCampaignMapper
-
Maps a CampaignModel to CampaignsCreateRequestBody.
- toCampaignsUpdateRequestBody(CampaignModel) - Method in interface org.bhn.promotion.voucherify.mapper.VoucherifyCampaignMapper
-
Maps a CampaignModel to CampaignsUpdateRequestBody.
- toCreateRequestBody(PromotionTierModel) - Method in interface org.bhn.promotion.voucherify.mapper.PromotionTierMapper
-
Maps a PromotionTierModel to a PromotionsTiersCreateRequestBody.
- TokenGenerator - Class in org.bhn.promotion.iam.token
- TokenGenerator() - Constructor for class org.bhn.promotion.iam.token.TokenGenerator
- toModel(CampaignsCreateResponseBody) - Method in interface org.bhn.promotion.voucherify.mapper.VoucherifyCampaignMapper
-
Maps a CampaignsCreateResponseBody to CampaignModel.
- toModel(CampaignsGetResponseBody) - Method in interface org.bhn.promotion.voucherify.mapper.VoucherifyCampaignMapper
-
Maps a CampaignsGetResponseBody to CampaignModel.
- toModel(CampaignsUpdateResponseBody) - Method in interface org.bhn.promotion.voucherify.mapper.VoucherifyCampaignMapper
-
Maps a CampaignsUpdateResponseBody to CampaignModel.
- toModel(Category) - Method in interface org.bhn.promotion.voucherify.mapper.CategoryMapper
- toModel(Discount) - Method in interface org.bhn.promotion.voucherify.mapper.DiscountMapper
-
Converts a
Discountobject to aDiscountModel. - toModel(DiscountUnitMultipleOneUnit) - Method in interface org.bhn.promotion.voucherify.mapper.DiscountUnitMultipleOneUnitMapper
-
Converts a
DiscountUnitMultipleOneUnitobject from Voucherify to aDiscountUnitMultipleOneUnitModelobject. - toModel(PromotionsTiersCreateResponseBody) - Method in interface org.bhn.promotion.voucherify.mapper.PromotionTierMapper
-
Maps a PromotionsTiersCreateResponseBody to a PromotionTierModel.
- toModel(PromotionsTiersGetResponseBody) - Method in interface org.bhn.promotion.voucherify.mapper.PromotionTierMapper
-
Maps a PromotionsTiersGetResponseBody to a PromotionTierModel.
- toModel(PromotionsTiersUpdateResponseBody) - Method in interface org.bhn.promotion.voucherify.mapper.PromotionTierMapper
-
Maps a PromotionsTiersUpdateResponseBody to a PromotionTierModel.
- toModel(PromotionTier) - Method in interface org.bhn.promotion.voucherify.mapper.PromotionTierMapper
-
Maps a PromotionTier to a PromotionTierModel.
- toModel(PromotionTierAction) - Method in interface org.bhn.promotion.voucherify.mapper.PromotionTierActionMapper
- toModel(ValidityHours) - Method in interface org.bhn.promotion.voucherify.mapper.ValidityHoursMapper
-
Maps a ValidityHours from Voucherify to ValidityHoursModel.
- toModel(ValidityHoursDailyItem) - Method in interface org.bhn.promotion.voucherify.mapper.ValidityHoursDailyInnerMapper
-
Maps a ValidityHoursDailyInner from Voucherify to ValidityHoursDailyInnerModel.
- toModel(ValidityTimeframe) - Method in interface org.bhn.promotion.voucherify.mapper.ValidityTimeframeMapper
-
Maps a ValidityTimeframe from Voucherify to ValidityTimeframeModel.
- TOO_MANY_REQUESTS - Enum constant in enum class org.bhn.promotion.voucherify.exception.ApiErrorDetails
- toRollbackRequestV3(RollbackRequest) - Method in interface org.bhn.promotion.core.mapper.RollbackRequestV3Mapper
-
Maps a RollbackRequest object to a RollbackRequestV3 object.
- toRollbackRequestV3(RollbackRequest) - Method in class org.bhn.promotion.core.mapper.RollbackRequestV3MapperImpl
- toString() - Method in enum class org.bhn.promotion.voucherify.enums.ApplicableObjectEnum
- toString() - Method in enum class org.bhn.promotion.voucherify.enums.EligibilitySortingRuleEnum
- toString() - Method in enum class org.bhn.promotion.voucherify.enums.ObjectTypeEnum
- toString() - Method in enum class org.bhn.promotion.voucherify.enums.RedeemableObjectEnum
- toString() - Method in enum class org.bhn.promotion.voucherify.enums.StatusEnum
- TOTAL_BUSINESS_CARD_QUANTITY - Enum constant in enum class org.bhn.promotion.core.enums.PromotionMetaDataKey
- TOTAL_CONSUMER_CARD_QUANTITY - Enum constant in enum class org.bhn.promotion.core.enums.PromotionMetaDataKey
- TOTAL_DIGITAL_BUSINESS_CARD_QUANTITY - Enum constant in enum class org.bhn.promotion.core.enums.PromotionMetaDataKey
- TOTAL_DIGITAL_CARD_FACE_VALUE - Enum constant in enum class org.bhn.promotion.core.enums.PromotionMetaDataKey
- TOTAL_DIGITAL_CARD_QUANTITY - Enum constant in enum class org.bhn.promotion.core.enums.PromotionMetaDataKey
- TOTAL_DIGITAL_CARD_VALUE - Enum constant in enum class org.bhn.promotion.core.enums.PromotionMetaDataKey
- TOTAL_DIGITAL_CONSUMER_CARD_QUANTITY - Enum constant in enum class org.bhn.promotion.core.enums.PromotionMetaDataKey
- TOTAL_FACE_VALUE - Enum constant in enum class org.bhn.promotion.core.enums.PromotionMetaDataKey
- TOTAL_FEE - Enum constant in enum class org.bhn.promotion.core.enums.PromotionMetaDataKey
- TOTAL_ITEM_QUANTITY - Enum constant in enum class org.bhn.promotion.core.enums.PromotionMetaDataKey
- TOTAL_ITEM_VALUE - Enum constant in enum class org.bhn.promotion.core.enums.PromotionMetaDataKey
- TOTAL_ORDER_VALUE - Enum constant in enum class org.bhn.promotion.core.enums.PromotionMetaDataKey
- TOTAL_PHYSICAL_BUSINESS_CARD_QUANTITY - Enum constant in enum class org.bhn.promotion.core.enums.PromotionMetaDataKey
- TOTAL_PHYSICAL_CARD_FACE_VALUE - Enum constant in enum class org.bhn.promotion.core.enums.PromotionMetaDataKey
- TOTAL_PHYSICAL_CARD_QUANTITY - Enum constant in enum class org.bhn.promotion.core.enums.PromotionMetaDataKey
- TOTAL_PHYSICAL_CARD_VALUE - Enum constant in enum class org.bhn.promotion.core.enums.PromotionMetaDataKey
- TOTAL_PHYSICAL_CONSUMER_CARD_QUANTITY - Enum constant in enum class org.bhn.promotion.core.enums.PromotionMetaDataKey
- toUpdateRequestBody(PromotionTierModel) - Method in interface org.bhn.promotion.voucherify.mapper.PromotionTierMapper
-
Maps a PromotionTierModel to a PromotionsTiersUpdateRequestBody.
- toVoucherifyProduct(PMSProductModel) - Method in interface org.bhn.promotion.voucherify.mapper.ProductMapper
-
Converts a PMSProductModel to a ProductsCreateRequestBody for Voucherify.
- toVoucherifySKU(PMSProductSkuModel) - Method in interface org.bhn.promotion.voucherify.mapper.ProductSkuMapper
-
Converts a
PMSProductSkuModelto aProductsSkusCreateRequestBody. - toVoucherifyUpdateProduct(PMSProductModel) - Method in interface org.bhn.promotion.voucherify.mapper.ProductMapper
-
Converts a PMSProductModel to a ProductsUpdateRequestBody for Voucherify.
U
- unassignUser(String, String) - Method in class org.bhn.promotion.voucherify.engine.VoucherifyClient
-
This method invokes the Voucherify Management API to unassign a user from a project.
- UNAUTHORIZED - Enum constant in enum class org.bhn.promotion.voucherify.exception.ApiErrorDetails
- UNDERSCORE - Static variable in class org.bhn.promotion.core.utils.PromotionUtil
- UNIT - Enum constant in enum class org.bhn.promotion.voucherify.enums.DiscountTypeEnum
- UNIT - Enum constant in enum class org.bhn.promotion.voucherify.enums.TargetEnum
- UPC_ERROR_MESSAGE - Static variable in class org.bhn.promotion.core.constants.ValidationConstants
- UPC_PATTERN - Static variable in class org.bhn.promotion.core.constants.ValidationConstants
- updateCampaign(String, CampaignsUpdateRequestBody) - Method in class org.bhn.promotion.voucherify.engine.VoucherifyClient
-
This method invokes voucherify api and Updates campaign
- updateCampaign(String, CampaignsUpdateRequestBody) - Method in class org.bhn.promotion.voucherify.service.VoucherifyCampaignService
-
This method invokes voucherify api and Updates campaign
- updateCampaignBudget(CampaignModel) - Method in class org.bhn.promotion.voucherify.service.VoucherifyCampaignService
-
This method invokes voucherify api and Updates campaign
- updateCampaignBudgetWithOverdraftAmount(String, BigDecimal) - Method in class org.bhn.promotion.voucherify.service.VoucherifyCampaignService
-
Updates the campaign budget with the given overdraft amount by iterating over the validation rule assignments.
- updateCampaignBudgetWithPartialRefundAmount(String, BigDecimal) - Method in class org.bhn.promotion.voucherify.service.VoucherifyCampaignService
-
Updates the campaign budget with the given partial refund amount by iterating over the validation rule assignments.
- updateDiscountSummaryOrder(PromoSummary, PromoSummary) - Static method in class org.bhn.promotion.core.utils.PromotionUtil
-
Map Order level Discount summary fields with details fetched from Promotion service
- updateEligiblePromos(EligibilityResponseModel) - Method in class org.bhn.promotion.core.model.pricing.PromoSummary
-
Updates the list of eligible promotions based on the provided eligibility response.
- updateMetaData(ProductsGetResponseBody, PMSProductModel) - Method in class org.bhn.promotion.voucherify.service.VoucherifyPromotionProductService
-
Updates the metadata of a given product model based on the metadata from a response.
- updateMetadataSchema(String, String, ManagementProjectsMetadataSchemasUpdateRequestBody) - Method in class org.bhn.promotion.voucherify.engine.VoucherifyClient
-
This method invokes the Voucherify Management API to update the metadata schema for a project.
- updatePimcorePromotionModelFromCampaign(CampaignsGetResponseBody, PimcorePromotionModel) - Method in interface org.bhn.promotion.voucherify.mapper.PimcorePromotionModelMapper
-
Updates an existing
PimcorePromotionModelinstance with values from aCampaignsGetResponseBody. - updatePimcorePromotionModelFromCampaign(CampaignsGetResponseBody, PimcorePromotionModel) - Method in class org.bhn.promotion.voucherify.mapper.PimcorePromotionModelMapperImpl
- updatePimcorePromotionModelFromPromotion(PromotionsTiersGetResponseBody, PimcorePromotionModel) - Method in interface org.bhn.promotion.voucherify.mapper.PimcorePromotionModelMapper
-
Updates an existing
PimcorePromotionModelinstance with values from aPromotionsTiersGetResponseBody. - updatePimcorePromotionModelFromPromotion(PromotionsTiersGetResponseBody, PimcorePromotionModel) - Method in class org.bhn.promotion.voucherify.mapper.PimcorePromotionModelMapperImpl
- updatePimcorePromotionModelFromPromotion(WebhookRequest.WebhookModel.BaseModel, PimcorePromotionModel) - Method in interface org.bhn.promotion.voucherify.mapper.PimcorePromotionModelMapper
-
Updates the specified
PimcorePromotionModelinstance with values from a givenWebhookRequest.WebhookModel.BaseModelwebhook model. - updatePimcorePromotionModelFromPromotion(WebhookRequest.WebhookModel.BaseModel, PimcorePromotionModel) - Method in class org.bhn.promotion.voucherify.mapper.PimcorePromotionModelMapperImpl
- updatePimcorePromotionModelFromVoucher(VouchersGetResponseBody, PimcorePromotionModel) - Method in interface org.bhn.promotion.voucherify.mapper.PimcorePromotionModelMapper
-
Updates an existing
PimcorePromotionModelinstance with values from aVouchersGetResponseBody. - updatePimcorePromotionModelFromVoucher(VouchersGetResponseBody, PimcorePromotionModel) - Method in class org.bhn.promotion.voucherify.mapper.PimcorePromotionModelMapperImpl
- updatePimcorePromotionModelToDelete(String, PimcorePromotionModel) - Method in interface org.bhn.promotion.voucherify.mapper.PimcorePromotionModelMapper
-
Updates the specified
PimcorePromotionModelinstance to mark it for deletion using values from a givenWebhookRequest.WebhookModel.BaseModelwebhook model. - updatePimcorePromotionModelToDelete(String, PimcorePromotionModel) - Method in class org.bhn.promotion.voucherify.mapper.PimcorePromotionModelMapperImpl
- updateProduct(String, ProductsUpdateRequestBody) - Method in class org.bhn.promotion.voucherify.engine.VoucherifyClient
-
This method invokes voucherify api and Updates Product
- updateProduct(PMSProductModel) - Method in class org.bhn.promotion.bhn.service.BHNPromotionProductService
-
Updates an existing product in the system.
- updateProduct(PMSProductModel) - Method in interface org.bhn.promotion.core.service.PromotionProductService
-
Updates an existing product in the system.
- updateProduct(PMSProductModel) - Method in class org.bhn.promotion.voucherify.service.VoucherifyPromotionProductService
-
Updates an existing product in Voucherify.
- updatePromoSummary(PromoSummary, PromoSummary) - Method in class org.bhn.promotion.voucherify.service.ShippingFeePromotionService
-
Updates the existing promo summary with details from the shipping fee promo summary.
- updatePromotion(PromotionTierModel) - Method in class org.bhn.promotion.voucherify.service.VoucherifyPromotionTierService
-
This method invokes voucherify api and Updates Promotion Tier
- updatePromotionBudgetInVoucherify(String, BigDecimal, boolean) - Method in class org.bhn.promotion.voucherify.service.VoucherifyValidationService
-
Updates the promotion budget in Voucherify based on the given validation rule ID and partial refund amount.
- updatePromotionTier(String, PromotionsTiersUpdateRequestBody) - Method in class org.bhn.promotion.voucherify.engine.VoucherifyClient
-
This method invokes voucherify api and Updates Promotion Tier
- updatePromotionTier(String, PromotionsTiersUpdateRequestBody) - Method in class org.bhn.promotion.voucherify.service.VoucherifyPromotionTierService
-
This method invokes voucherify api and Updates Promotion Tier
- updatePromotionTierBudgetWithOverdraftAmount(String, BigDecimal) - Method in class org.bhn.promotion.voucherify.service.VoucherifyPromotionTierService
-
Updates the promotion tier budget with the given overdraft amount.
- updatePromotionTierBudgetWithPartialRefundAmount(String, BigDecimal) - Method in class org.bhn.promotion.voucherify.service.VoucherifyPromotionTierService
-
Updates the promotion tier budget with the given partial refund amount.
- updateTenantNameInMetadataSchema(String, List<Object>, boolean) - Method in class org.bhn.promotion.voucherify.service.VoucherifyManagementService
-
Update tenant names in metadata schema for a specific project.
- updateUser(String, String, ManagementProjectsUsersUpdateRoleRequestBody) - Method in class org.bhn.promotion.voucherify.engine.VoucherifyClient
-
This method invokes the Voucherify Management API to update a user's role in a project.
- updateValidationRuleAssignment(String, ValidationRulesUpdateRequestBody) - Method in class org.bhn.promotion.voucherify.engine.VoucherifyClient
-
Updates the validation rule assignment in Voucherify using the provided validation rule ID and the update request body.
- updateVoucher(String, VouchersUpdateRequestBody) - Method in class org.bhn.promotion.voucherify.engine.VoucherifyClient
-
This method invokes voucherify api and update voucher
- updateVoucher(String, VouchersUpdateRequestBody) - Method in class org.bhn.promotion.voucherify.service.VoucherifyVoucherService
-
Update Voucher
- updateVouchers(Map<String, VouchersUpdateRequestBody>) - Method in class org.bhn.promotion.voucherify.service.VoucherifyVoucherService
-
Update a list of Vouchers
- USER - Enum constant in enum class org.bhn.promotion.voucherify.enums.ChannelTypeEnum
- USER_RULES_VIOLATED - Enum constant in enum class org.bhn.promotion.voucherify.exception.ApiErrorDetails
V
- VALIDATE - Static variable in class org.bhn.promotion.core.constants.ValidationConstants
- validateAndApplyPromotion(PromotionQuoteRequest) - Method in class org.bhn.promotion.core.workflow.PromotionWorkflow
-
This method allows you to validate if promotions that are part of the cart can be applied and apply them.
- validateAndGetItemPromoFundingSources(PromotionQuoteRequest, String, List<FundingSource>, List<ApplicablePromoModel>) - Static method in class org.bhn.promotion.core.utils.PromotionUtil
-
Retrieves the funding sources related to specific item-level promotions.
- validateOrderItems(List<OrderItem>) - Static method in class org.bhn.promotion.core.utils.ValidationUtil
- validateOrderPromos(List<Promo>) - Static method in class org.bhn.promotion.core.utils.ValidationUtil
- validatePromotion(PromotionQuoteRequest) - Method in class org.bhn.promotion.core.workflow.PromotionWorkflow
- validateQuoteRequest(PromotionQuoteRequest) - Static method in class org.bhn.promotion.core.utils.ValidationUtil
- ValidateResponseBodyOrder() - Constructor for class org.bhn.promotion.voucherify.model.ValidationResponseDto.ValidateResponseBodyOrder
- validateStackedDiscounts(ValidationRequestDto) - Method in class org.bhn.promotion.voucherify.clients.VoucherifyApiClient
-
Validates stacked discounts via Voucherify API.
- validateStackedDiscounts(ValidationRequestDto) - Method in class org.bhn.promotion.voucherify.engine.VoucherifyClient
-
This method invokes voucherify api and Validates promotion with retry mechanism
- VALIDATIO_RULE_ID - Static variable in class org.bhn.promotion.voucherify.constants.VoucherifyFieldNameConstants
- VALIDATION_FLOW_ERROR - Static variable in class org.bhn.promotion.voucherify.engine.ValidationEngine
- VALIDATION_RULES - Enum constant in enum class org.bhn.promotion.voucherify.enums.ExpandEnum
- ValidationConstants - Class in org.bhn.promotion.core.constants
-
A utility class containing constants for validation purposes.
- ValidationEngine - Class in org.bhn.promotion.voucherify.engine
-
ValidationEngine implementation
- ValidationEngine(VoucherifyClient) - Constructor for class org.bhn.promotion.voucherify.engine.ValidationEngine
- ValidationException - Exception in org.bhn.promotion.core.exception
-
ValidationException implementation
- ValidationException() - Constructor for exception org.bhn.promotion.core.exception.ValidationException
- ValidationRequestDto - Class in org.bhn.promotion.voucherify.model
-
Request body used to validate redeemables against order, customer, and session data before applying promotions.
- ValidationRequestDto() - Constructor for class org.bhn.promotion.voucherify.model.ValidationRequestDto
- ValidationRequestDto.ValidationsValidateRequestBodyOptions - Class in org.bhn.promotion.voucherify.model
- ValidationRequestDto.ValidationsValidateRequestBodyRedeemablesItem - Class in org.bhn.promotion.voucherify.model
- ValidationResponseDto - Class in org.bhn.promotion.voucherify.model
-
Response body returned after validating redeemables against an order.
- ValidationResponseDto() - Constructor for class org.bhn.promotion.voucherify.model.ValidationResponseDto
- ValidationResponseDto.ValidateResponseBodyOrder - Class in org.bhn.promotion.voucherify.model
- ValidationResponseDto.ValidationsValidateResponseBodyRedeemablesItem - Class in org.bhn.promotion.voucherify.model
- ValidationResponseDto.ValidationsValidateResponseBodyRedeemablesItemResult - Class in org.bhn.promotion.voucherify.model
- ValidationResponseDto.ValidationsValidateResponseBodyRedeemablesItemResult.Details - Class in org.bhn.promotion.voucherify.model
- ValidationResultDetailsDto - Class in org.bhn.promotion.voucherify.model.common
-
Model representing validation error or result details returned by Voucherify.
- ValidationResultDetailsDto() - Constructor for class org.bhn.promotion.voucherify.model.common.ValidationResultDetailsDto
- validationRulesApi() - Method in class org.bhn.promotion.voucherify.config.VoucherifyConfiguration
-
Creates a ValidationRulesApi instance for managing validation rules in Voucherify.
- validationsApi() - Method in class org.bhn.promotion.voucherify.config.VoucherifyConfiguration
-
Creates a ValidationsApi instance for managing validations in Voucherify.
- ValidationsRedeemableInapplicableDto - Class in org.bhn.promotion.voucherify.model.common
-
Model representing an inapplicable redeemable returned during validation.
- ValidationsRedeemableInapplicableDto() - Constructor for class org.bhn.promotion.voucherify.model.common.ValidationsRedeemableInapplicableDto
- ValidationsRedeemableInapplicableResultDto - Class in org.bhn.promotion.voucherify.model.common
-
Model holding error and detail information for an inapplicable validation redeemable.
- ValidationsRedeemableInapplicableResultDto() - Constructor for class org.bhn.promotion.voucherify.model.common.ValidationsRedeemableInapplicableResultDto
- ValidationsRedeemableSkippedDto - Class in org.bhn.promotion.voucherify.model.common
-
Model representing a skipped redeemable returned during validation.
- ValidationsRedeemableSkippedDto() - Constructor for class org.bhn.promotion.voucherify.model.common.ValidationsRedeemableSkippedDto
- ValidationsRedeemableSkippedResultDto - Class in org.bhn.promotion.voucherify.model.common
-
Model containing detail information for a skipped validation redeemable.
- ValidationsRedeemableSkippedResultDto() - Constructor for class org.bhn.promotion.voucherify.model.common.ValidationsRedeemableSkippedResultDto
- ValidationStatusEnum - Enum Class in org.bhn.promotion.voucherify.enums
-
Enum representing validation status.
- ValidationsValidateRequestBodyOptions() - Constructor for class org.bhn.promotion.voucherify.model.ValidationRequestDto.ValidationsValidateRequestBodyOptions
- ValidationsValidateRequestBodyRedeemablesItem() - Constructor for class org.bhn.promotion.voucherify.model.ValidationRequestDto.ValidationsValidateRequestBodyRedeemablesItem
- ValidationsValidateResponseBodyRedeemablesItem() - Constructor for class org.bhn.promotion.voucherify.model.ValidationResponseDto.ValidationsValidateResponseBodyRedeemablesItem
- ValidationsValidateResponseBodyRedeemablesItemResult() - Constructor for class org.bhn.promotion.voucherify.model.ValidationResponseDto.ValidationsValidateResponseBodyRedeemablesItemResult
- ValidationUtil - Class in org.bhn.promotion.core.utils
-
This class provides Validation utility methods to validate the request params
- validityDayOfWeekEnum(List<PromotionTier.ValidityDayOfWeekEnum>) - Method in interface org.bhn.promotion.voucherify.mapper.PromotionTierMapper
-
Converts a list of ValidityDayOfWeekEnum from PromotionTier to a list of strings.
- ValidityHoursDailyInnerMapper - Interface in org.bhn.promotion.voucherify.mapper
-
Mapper interface for converting between Voucherify's
ValidityHoursDailyItemand the application-specificValidityHoursDailyInnerModel. - ValidityHoursDailyInnerModel - Class in org.bhn.promotion.core.model.campaign
- ValidityHoursDailyInnerModel() - Constructor for class org.bhn.promotion.core.model.campaign.ValidityHoursDailyInnerModel
- ValidityHoursMapper - Interface in org.bhn.promotion.voucherify.mapper
-
Mapper interface for converting between Voucherify ValidityHours model and the internal ValidityHoursModel.
- ValidityHoursModel - Class in org.bhn.promotion.core.model.campaign
- ValidityHoursModel() - Constructor for class org.bhn.promotion.core.model.campaign.ValidityHoursModel
- ValidityTimeframeMapper - Interface in org.bhn.promotion.voucherify.mapper
-
Mapper interface for converting between Voucherify ValidityTimeframe model and the internal ValidityTimeframeModel.
- ValidityTimeframeModel - Class in org.bhn.promotion.core.model.campaign
- ValidityTimeframeModel() - Constructor for class org.bhn.promotion.core.model.campaign.ValidityTimeframeModel
- VALUE - Enum constant in enum class org.bhn.promotion.core.enums.PromotionMetaDataKey
- valueOf(String) - Static method in enum class org.bhn.promotion.core.enums.ConfigurationFlags
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.bhn.promotion.core.enums.ErrorKey
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.bhn.promotion.core.enums.PromotionMetaDataKey
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.bhn.promotion.voucherify.enums.ApplicableObjectEnum
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.bhn.promotion.voucherify.enums.ApplicableToEffect
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.bhn.promotion.voucherify.enums.BudgetUpdatedBy
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.bhn.promotion.voucherify.enums.ChannelTypeEnum
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.bhn.promotion.voucherify.enums.DiscountEffectEnum
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.bhn.promotion.voucherify.enums.DiscountTypeEnum
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.bhn.promotion.voucherify.enums.EligibilityScenarioEnum
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.bhn.promotion.voucherify.enums.EligibilitySortingRuleEnum
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.bhn.promotion.voucherify.enums.ExpandEnum
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.bhn.promotion.voucherify.enums.ObjectTypeEnum
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.bhn.promotion.voucherify.enums.OrderStatusEnum
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.bhn.promotion.voucherify.enums.OverdraftType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.bhn.promotion.voucherify.enums.RedeemableObjectEnum
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.bhn.promotion.voucherify.enums.RollbackOrderModeEnum
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.bhn.promotion.voucherify.enums.StatusEnum
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.bhn.promotion.voucherify.enums.TargetEnum
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.bhn.promotion.voucherify.enums.ValidationStatusEnum
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.bhn.promotion.voucherify.exception.ApiErrorDetails
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.bhn.promotion.core.enums.ConfigurationFlags
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.bhn.promotion.core.enums.ErrorKey
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.bhn.promotion.core.enums.PromotionMetaDataKey
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.bhn.promotion.voucherify.enums.ApplicableObjectEnum
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.bhn.promotion.voucherify.enums.ApplicableToEffect
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.bhn.promotion.voucherify.enums.BudgetUpdatedBy
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.bhn.promotion.voucherify.enums.ChannelTypeEnum
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.bhn.promotion.voucherify.enums.DiscountEffectEnum
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.bhn.promotion.voucherify.enums.DiscountTypeEnum
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.bhn.promotion.voucherify.enums.EligibilityScenarioEnum
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.bhn.promotion.voucherify.enums.EligibilitySortingRuleEnum
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.bhn.promotion.voucherify.enums.ExpandEnum
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.bhn.promotion.voucherify.enums.ObjectTypeEnum
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.bhn.promotion.voucherify.enums.OrderStatusEnum
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.bhn.promotion.voucherify.enums.OverdraftType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.bhn.promotion.voucherify.enums.RedeemableObjectEnum
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.bhn.promotion.voucherify.enums.RollbackOrderModeEnum
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.bhn.promotion.voucherify.enums.StatusEnum
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.bhn.promotion.voucherify.enums.TargetEnum
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.bhn.promotion.voucherify.enums.ValidationStatusEnum
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.bhn.promotion.voucherify.exception.ApiErrorDetails
-
Returns an array containing the constants of this enum class, in the order they are declared.
- Variant() - Constructor for class org.bhn.promotion.core.model.andor.AndorCommerceProductResponse.Variant
- Voucher() - Constructor for class org.bhn.promotion.voucherify.model.RedemptionRollbackResponseDto.Voucher
- VOUCHER - Enum constant in enum class org.bhn.promotion.voucherify.enums.RedeemableObjectEnum
- VOUCHER_DISABLED - Enum constant in enum class org.bhn.promotion.voucherify.exception.ApiErrorDetails
- VOUCHER_EXPIRED - Enum constant in enum class org.bhn.promotion.voucherify.exception.ApiErrorDetails
- VOUCHER_NOT_ACCESSIBLE - Enum constant in enum class org.bhn.promotion.voucherify.exception.ApiErrorDetails
- VOUCHER_NOT_ACTIVE - Enum constant in enum class org.bhn.promotion.voucherify.exception.ApiErrorDetails
- VOUCHER_NOT_ACTIVE_NOW - Enum constant in enum class org.bhn.promotion.voucherify.exception.ApiErrorDetails
- VOUCHER_NOT_FOUND - Enum constant in enum class org.bhn.promotion.voucherify.exception.ApiErrorDetails
- VOUCHER_REQUIRED - Enum constant in enum class org.bhn.promotion.voucherify.exception.ApiErrorDetails
- VOUCHERIFY_APPLICATION_RULE_ALLOW_PARTIAL - Static variable in class org.bhn.promotion.core.config.PromotionConfiguration
- voucherifyApiClient() - Method in class org.bhn.promotion.voucherify.config.VoucherifyConfiguration
- VoucherifyApiClient - Class in org.bhn.promotion.voucherify.clients
-
Client for interacting with Voucherify API to redeem stacked discounts.
- VoucherifyApiClient() - Constructor for class org.bhn.promotion.voucherify.clients.VoucherifyApiClient
- VoucherifyApiException - Exception in org.bhn.promotion.voucherify.exception
-
This class contains implementation of VoucherifyApiException
- VoucherifyApiException(String, String) - Constructor for exception org.bhn.promotion.voucherify.exception.VoucherifyApiException
- VoucherifyApiException(String, String, String) - Constructor for exception org.bhn.promotion.voucherify.exception.VoucherifyApiException
- VoucherifyCampaignMapper - Interface in org.bhn.promotion.voucherify.mapper
-
Mapper interface for converting between Voucherify campaign-related request/response models and internal CampaignModel.
- voucherifyCampaignService() - Method in class org.bhn.promotion.voucherify.config.VoucherifyConfiguration
- VoucherifyCampaignService - Class in org.bhn.promotion.voucherify.service
-
This class contains all methods related to Voucherify Campaign Service
- VoucherifyCampaignService() - Constructor for class org.bhn.promotion.voucherify.service.VoucherifyCampaignService
- voucherifyClient() - Method in class org.bhn.promotion.voucherify.config.VoucherifyConfiguration
-
Creates a VoucherifyClient instance configured with necessary API clients.
- VoucherifyClient - Class in org.bhn.promotion.voucherify.engine
-
This class contains all the api calls made to Voucherify service
- VoucherifyClient() - Constructor for class org.bhn.promotion.voucherify.engine.VoucherifyClient
- VoucherifyClientLoggerUtil - Class in org.bhn.promotion.voucherify.utils
-
This class contains methods to prepare logging info for SDK's external public api's invocation
- VoucherifyConfiguration - Class in org.bhn.promotion.voucherify.config
-
The class contains Voucherify configuration.
- VoucherifyConfiguration(String, String, String, boolean, int, long, int, String, boolean, List<String>, String, List<String>, String, String, Integer, String, long, String, Integer, String, String, String, String, String, String, String, String, String, String, String) - Constructor for class org.bhn.promotion.voucherify.config.VoucherifyConfiguration
-
Constructor to initialize configuration properties for Voucherify.
- VoucherifyFieldNameConstants - Class in org.bhn.promotion.voucherify.constants
- voucherifyManagementService() - Method in class org.bhn.promotion.voucherify.config.VoucherifyConfiguration
- VoucherifyManagementService - Class in org.bhn.promotion.voucherify.service
-
Service class for managing metadata schemas in a Voucherify project.
- VoucherifyManagementService() - Constructor for class org.bhn.promotion.voucherify.service.VoucherifyManagementService
- VoucherifyMockUtil - Class in org.bhn.promotion.voucherify.utils
-
This class contains Voucherify Util methods
- VoucherifyPromotionEngine - Class in org.bhn.promotion.voucherify.engine
-
VoucherifyPromotionEngine implementation
- VoucherifyPromotionEngine(ValidationEngine, QualificationEngine, RedemptionEngine, RollbackEngine) - Constructor for class org.bhn.promotion.voucherify.engine.VoucherifyPromotionEngine
- VoucherifyPromotionExportService - Class in org.bhn.promotion.voucherify.service
-
This class implements the
PromotionExportServiceinterface and provides methods related to exporting reports using the Voucherify service. - VoucherifyPromotionExportService(VoucherifyClient, VoucherifyProxy) - Constructor for class org.bhn.promotion.voucherify.service.VoucherifyPromotionExportService
- VoucherifyPromotionOperation - Class in org.bhn.promotion.voucherify.operation
-
VoucherifyPromotionOperation implementation.
- VoucherifyPromotionOperation(PromotionEngine) - Constructor for class org.bhn.promotion.voucherify.operation.VoucherifyPromotionOperation
- VoucherifyPromotionProductService - Class in org.bhn.promotion.voucherify.service
-
Implementation of the
PromotionProductServiceinterface that integrates with Voucherify to manage products and SKUs (Stock Keeping Units). - VoucherifyPromotionProductService() - Constructor for class org.bhn.promotion.voucherify.service.VoucherifyPromotionProductService
- voucherifyPromotionTierService() - Method in class org.bhn.promotion.voucherify.config.VoucherifyConfiguration
- VoucherifyPromotionTierService - Class in org.bhn.promotion.voucherify.service
-
This class contains all methods related to Voucherify Promotion Tier Service
- VoucherifyPromotionTierService() - Constructor for class org.bhn.promotion.voucherify.service.VoucherifyPromotionTierService
- voucherifyProxy() - Method in class org.bhn.promotion.voucherify.config.VoucherifyConfiguration
-
Creates a bean for the VoucherifyProxy.
- VoucherifyProxy - Class in org.bhn.promotion.voucherify.clients
-
A proxy class for interacting with the Voucherify API.
- VoucherifyProxy() - Constructor for class org.bhn.promotion.voucherify.clients.VoucherifyProxy
- voucherifyQualificationEngine() - Method in class org.bhn.promotion.voucherify.config.VoucherifyConfiguration
-
Creates a QualificationEngine for managing qualification processes in Voucherify.
- voucherifyQualificationResponse(String) - Static method in class org.bhn.promotion.voucherify.utils.VoucherifyMockUtil
-
This class creates Eligibility response object from json
- voucherifyRedemptionEngine() - Method in class org.bhn.promotion.voucherify.config.VoucherifyConfiguration
-
Creates a RedemptionEngine for managing redemption processes in Voucherify.
- VoucherifyRedemptionException - Exception in org.bhn.promotion.voucherify.exception
-
Custom exception for handling Voucherify redemption errors.
- VoucherifyRedemptionException(Throwable) - Constructor for exception org.bhn.promotion.voucherify.exception.VoucherifyRedemptionException
- voucherifyRedemptionResponse(String) - Static method in class org.bhn.promotion.voucherify.utils.VoucherifyMockUtil
-
This class creates Redemption response object from json
- VoucherifyRedemptionResponse - Class in org.bhn.promotion.voucherify.model
- VoucherifyRedemptionResponse() - Constructor for class org.bhn.promotion.voucherify.model.VoucherifyRedemptionResponse
- VoucherifyRedemptionResponse.Redemption - Class in org.bhn.promotion.voucherify.model
- voucherifyRollbackEngine() - Method in class org.bhn.promotion.voucherify.config.VoucherifyConfiguration
-
Creates a RollbackEngine for handling rollback operations in Voucherify.
- VoucherifyUtil - Class in org.bhn.promotion.voucherify.utils
-
Utility class providing methods for handling voucher and promotion data related to the Voucherify.
- voucherifyValidationEngine() - Method in class org.bhn.promotion.voucherify.config.VoucherifyConfiguration
-
Creates a ValidationEngine for managing validation processes in Voucherify.
- voucherifyValidationResponse(String) - Static method in class org.bhn.promotion.voucherify.utils.VoucherifyMockUtil
-
This class creates Validation response object from json
- voucherifyValidationService() - Method in class org.bhn.promotion.voucherify.config.VoucherifyConfiguration
- VoucherifyValidationService - Class in org.bhn.promotion.voucherify.service
-
This class contains all methods related to Voucherify Validation Service
- VoucherifyValidationService() - Constructor for class org.bhn.promotion.voucherify.service.VoucherifyValidationService
- voucherifyVoucherService() - Method in class org.bhn.promotion.voucherify.config.VoucherifyConfiguration
- VoucherifyVoucherService - Class in org.bhn.promotion.voucherify.service
-
This class contains all methods related to Voucherify Voucher Service
- VoucherifyVoucherService(VoucherifyClient, VoucherifyValidationService, VoucherifyCampaignService, PromotionServiceProxy) - Constructor for class org.bhn.promotion.voucherify.service.VoucherifyVoucherService
- VoucherifyWarmupService - Class in org.bhn.promotion.voucherify.service
-
Service to perform warmup operations for Voucherify API and JSON serialization/deserialization.
- VoucherifyWarmupService() - Constructor for class org.bhn.promotion.voucherify.service.VoucherifyWarmupService
- VoucherRedemption() - Constructor for class org.bhn.promotion.voucherify.model.RedemptionRollbackResponseDto.VoucherRedemption
- vouchersApi() - Method in class org.bhn.promotion.voucherify.config.VoucherifyConfiguration
-
Creates a VouchersApi instance for managing vouchers in Voucherify.
W
- WebhookModel() - Constructor for class org.bhn.promotion.voucherify.model.WebhookRequest.WebhookModel
- WebhookRequest - Class in org.bhn.promotion.voucherify.model
-
Represents a request received from a webhook.
- WebhookRequest() - Constructor for class org.bhn.promotion.voucherify.model.WebhookRequest
- WebhookRequest.WebhookModel - Class in org.bhn.promotion.voucherify.model
-
Represents the model for a webhook payload related to a campaign, promotion tier, voucher, rule, and assignment in the promotion system
- WebhookRequest.WebhookModel.BaseModel - Class in org.bhn.promotion.voucherify.model
-
This class contains the common fields that are shared across these entities:
- WebhookResponse - Class in org.bhn.promotion.voucherify.model
-
Represents a response after executing Voucherify Webhook flow.
- WebhookResponse() - Constructor for class org.bhn.promotion.voucherify.model.WebhookResponse
- WITH_ORDER - Enum constant in enum class org.bhn.promotion.voucherify.enums.RollbackOrderModeEnum
- WITHOUT_ORDER - Enum constant in enum class org.bhn.promotion.voucherify.enums.RollbackOrderModeEnum
Z
- ZIP_CODE - Enum constant in enum class org.bhn.promotion.core.enums.PromotionMetaDataKey
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form