Uses of Class
com.skava.subscription.model.SubscriptionResponse
Packages that use SubscriptionResponse
Package
Description
Notification processor classes are available here
Subscription Map transformation are available here.
Subscription orchestration processors are available here
Subscription orchestration transformers are available here
-
Uses of SubscriptionResponse in com.skava.notification.orchestration.processor
Methods in com.skava.notification.orchestration.processor with parameters of type SubscriptionResponseModifier and TypeMethodDescriptionSubscriptionNotificationProcessor.buildSubscription
(SubscriptionResponse subResponse) Builds the subscription.static List<RecipientInfoDTO>
SubscriptionNotificationProcessor.buildSubscriptionData
(SubscriptionResponse subscriptionResponse, Users userResponse, org.apache.camel.Exchange exchange) This method is used to build subscription data -
Uses of SubscriptionResponse in com.skava.subscription.mapper
Methods in com.skava.subscription.mapper with parameters of type SubscriptionResponseModifier and TypeMethodDescriptionSubscriptionModelMapper.subscriptionToSFSubscription
(SubscriptionResponse subscriptionResponse) This method is used to transform the subscription response model into storefront subscription model. -
Uses of SubscriptionResponse in com.skava.subscription.orchestration.processor
Methods in com.skava.subscription.orchestration.processor that return types with arguments of type SubscriptionResponseModifier and TypeMethodDescriptionstatic List<SubscriptionResponse>
UserSubscriptionDataResponseProcessorUtil.constructShowAllSubscription
(List<SFSelectedSubscriptionResponse> selectedList) This method will construct show all subscriptionstatic List<SubscriptionResponse>
SFUserSubscriptionDataResponseProcessor.constructSubscriptions
(List<SubscriptionResponse> subscriptions, int month) This method will construct subscriptionsstatic List<SubscriptionResponse>
UserSubscriptionDataResponseProcessorUtil.getSelectedSubscription
(SFSubscriptionPreferenceResponse response, Map<String, List<SubscriptionResponse>> ylSubscriptionMap, String storeTimeZone, int month) This method is used to get selected subscriptionstatic List<SubscriptionResponse>
SFUserSubscriptionDataResponseProcessor.getSuccessSubscriptions
(List<SubscriptionResponse> ylSubscriptionResponselist, Integer selectedMonth, String storeTimeZone) Methods in com.skava.subscription.orchestration.processor with parameters of type SubscriptionResponseModifier and TypeMethodDescriptionSubscriptionProcessUtil.calculateAvailableMonths
(SubscriptionResponse subscription, Map<Long, String> itemLevelFrequencyMap, boolean isFirstTimeSubscription, String storeTimeZone) This method is used to calculate available months of itemUserSubscriptionDataResponseProcessorUtil.calculateMonths
(int nextOrderMonth, long frequency, SubscriptionResponse subscription) This method is used to calculate monthsstatic void
SubscriptionProcessUtil.calculateNextOrderProcessingMonths
(SubscriptionResponse subscription, String storeTimeZone, ItemResponse item, SortedSet<Integer> monthsToBeProcessed, int frequency, boolean isFirstTimeSubscription) This method is used to calculate next order processing monthsprotected static SFItem
UserSubscriptionDataResponseProcessorExtended.checkItemInfo
(SubscriptionResponse subscription, SFItem item, ItemResponse itemInfo, boolean isSkipped, Boolean isOOSInActive, Boolean isProcessNow) protected static void
UserSubscriptionDataResponseProcessorExtended.checkPriceAndPv
(SubscriptionResponse subscription) protected static Map<Long,
ItemResponse> UserSubscriptionDataResponseProcessorExtended.checkProperty
(org.apache.camel.Exchange exchange, SubscriptionResponse subscription, ItemResponse itemInfo) static void
UserSubscriptionDataResponseProcessorUtil.checkSubscription
(String storeTimeZone, Boolean isOrderplace, Map<String, List<SubscriptionResponse>> subscriptionTypeMap, SubscriptionResponse subscription) checkSubscriptionstatic void
UserSubscriptionDataResponseProcessorUtil.constructInstanceTransactionRequest
(org.apache.camel.Exchange exchange, SubscriptionResponse subscription, List<InstanceTransactionRequest> instanceTransactionRequest, List<InstancePostRequest> instanceRequestList, String action) This method is used to construct instance transaction requeststatic void
SubscriptionProcessUtil.constructItemsBasedOnFrequency
(org.apache.camel.Exchange exchange, SubscriptionResponse subscription, String storeId, List<SFItem> sfItems, Map<String, List<ItemResponse>> failedItemsMap, Map<Long, SortedSet<Integer>> availableMonthsMap) This method is used to construct cart items based on frequencyUserSubscriptionDataResponseProcessorUtil.constructItemSku
(SubscriptionResponse subscription) This method is used to construct item skustatic void
SubscriptionProcessUtil.constructItemsSkus
(ItemResponse item, SubscriptionResponse subscription, String storeId, List<SFItem> sfItems, Map<String, List<ItemResponse>> failedItemsMap, boolean includeFailedItemsCheck) constructItemsSkusstatic int
SubscriptionProcessUtil.getLastOrderMonth
(SubscriptionResponse subscription, String storeTimeZone) This method is used to calculate subscription's last order month valuestatic int
SubscriptionProcessUtil.getNextProcessingMonth
(SubscriptionResponse subscription, String storeTimeZone) This method is used to get next order processing monthprotected static boolean
SFUserSubscriptionDataResponseProcessor.isCurrentMonthProcessedSubscription
(SubscriptionResponse subscription, Integer selectedMonth, String storeTimeZone) This method is used to check the current month processed subscription or notprotected static void
UserSubscriptionDataResponseProcessorExtended.isOrderplace
(SubscriptionResponse subscription, SFItem item, Boolean isOrderplace) static boolean
SubscriptionProcessUtil.isSkippedItem
(SubscriptionResponse subscription, ItemResponse item) isSkippedItemstatic Boolean
UserSubscriptionDataResponseProcessorUtil.isSkippedSubscription
(SFSubscriptionPreferenceResponse response, SubscriptionResponse subscription, Integer selectedMonth, String storeTimeZone) This method will check whether the subscription is skipped or notstatic boolean
UserSubscriptionDataResponseProcessorUtil.isValidSubscripedSku
(SubscriptionResponse subscription) this method is used to validate the subscribed skustatic void
SubscriptionProcessUtil.parseItemsAndAddToCart
(ItemResponse item, SubscriptionResponse subscription, String storeId, List<SFItem> sfItems, List<SkuOrchestration> sfSkus) parseItemsAndAddToCartstatic void
SFUserSubscriptionDataResponseProcessor.setItemProperties
(boolean isProcessNow, SubscriptionResponse subscription, SFItem item, Boolean isOrderplace, Boolean isSkipped) static void
ConstructCartForFailedItems.setItemPropertiesOnCartItem
(SubscriptionResponse subscription, SFItem sfItem) setItemPropertiesOnCartItemstatic void
ConstructCartForFailedItemsInSummary.setItemPropertiesOnCartItem
(SubscriptionResponse subscription, SFItem sfItem, ItemResponse itemInfo) setItemPropertiesOnCartItemstatic void
UserSubscriptionDataResponseProcessorUtil.setItemPropertiesOnSubscription
(SubscriptionResponse subscription, SFItem item, Boolean isRegressionOrder) This method is to set subscriptionId and instanceId in item propertiesMethod parameters in com.skava.subscription.orchestration.processor with type arguments of type SubscriptionResponseModifier and TypeMethodDescriptionstatic void
UserSubscriptionDataResponseProcessorUtil.checkCount
(Map<String, List<SubscriptionResponse>> ylSubscriptionMap, SFSubscriptionPreferenceResponse response, List<SFSelectedSubscriptionResponse> selectedList, String storeTimeZone, Calendar calendar) checkCountstatic void
UserSubscriptionDataResponseProcessorUtil.checkIncludeNextMonthCount
(Map<String, List<SubscriptionResponse>> ylSubscriptionMap, SFSubscriptionPreferenceResponse response, List<SFSelectedSubscriptionResponse> selectedList, String storeTimeZone, Calendar calendar, int includeNextMonth) static void
UserSubscriptionDataResponseProcessorUtil.checkSubscription
(String storeTimeZone, Boolean isOrderplace, Map<String, List<SubscriptionResponse>> subscriptionTypeMap, SubscriptionResponse subscription) checkSubscriptionSFUserSubscriptionDataResponseProcessor.constructCartItems
(org.apache.camel.Exchange exchange, List<SubscriptionResponse> subscriptionList, SFSubscriptionPreferenceResponse response, boolean constructSkipSubscription, Integer selectedMonth, String storeTimeZone) This method is used to construct cart itemsUserSubscriptionDataResponseProcessorUtil.constructItemSkuList
(List<SubscriptionResponse> subscriptions) static List<SubscriptionResponse>
SFUserSubscriptionDataResponseProcessor.constructSubscriptions
(List<SubscriptionResponse> subscriptions, int month) This method will construct subscriptionsstatic List<SubscriptionResponse>
UserSubscriptionDataResponseProcessorUtil.getSelectedSubscription
(SFSubscriptionPreferenceResponse response, Map<String, List<SubscriptionResponse>> ylSubscriptionMap, String storeTimeZone, int month) This method is used to get selected subscriptionUserSubscriptionDataResponseProcessorUtil.getSelectedSubscription
(List<SubscriptionResponse> currentResponse, int month) This method is used to select subscription responseUserSubscriptionDataResponseProcessorUtil.getSelectedSubscriptionResponse
(List<SubscriptionResponse> currentResponse, int month) This method is used to select subscription responsestatic List<SubscriptionResponse>
SFUserSubscriptionDataResponseProcessor.getSuccessSubscriptions
(List<SubscriptionResponse> ylSubscriptionResponselist, Integer selectedMonth, String storeTimeZone) protected static void
UserSubscriptionDataResponseProcessorExtended.setTotalValues
(SFSelectedSubscriptionResponse selectedSubscription, List<SubscriptionResponse> subscriptionsResponse) This method is used to set total values -
Uses of SubscriptionResponse in com.skava.subscription.orchestration.transformation
Methods in com.skava.subscription.orchestration.transformation with parameters of type SubscriptionResponseModifier and TypeMethodDescriptionstatic List<ItemResponse>
SubscriptionSummaryTransformation.convertToItems
(SubscriptionResponse subscription, Map<String, SFItem> cartItemMap, Map<String, List<SFItem>> giftItemMap, Map<String, String> mainSkuInventoryMap, Map<Long, SortedSet<Integer>> availableMonthsMap) convertToItemsstatic SFSubscription
SubscriptionTransformation.convertToOrchestartionSubscription
(SubscriptionResponse subscription) This method is used to convert the subscription microservice model to the orchestration subscription model.SubscriptionSummaryTransformation.giftItemMap
(List<SFItem> items, SubscriptionResponse subscription, List<PromotionGiftResponse> giftResponseList) giftItemMap