Uses of Class
com.skava.cart.orchestration.model.SFCart
Packages that use SFCart
Package
Description
Contains cart model mapper classes.
Cart and checkout Orchestration model Classes available here.
The processor classes of the Cart Orchestration Service available here.
Cart and checkout Orchestration transformation Classes available here.
Contains cart orchestration utility classes.
Oms processor classes are available here
Oms transformation classes are available here
Orchestration util classes are available here.
The promotion orchestration processor classes are available here
The promotion orchestration util classes are available here
The quotation orchestration aggregation classes are available here
The quotation orchestration transformation classes are available here
Subscription orchestration processors are available here
-
Uses of SFCart in com.skava.cart.mapper
Methods in com.skava.cart.mapper that return SFCartModifier and TypeMethodDescriptionCartModelMapper.transformToSFCart
(CartCheckout cartCheckout) This method is used to transform the cart checkout model into orchestration Cart model.Methods in com.skava.cart.mapper with parameters of type SFCartModifier and TypeMethodDescriptionCartModelMapper.transformFromSFCart
(SFCart sfCart) This method is used to transform the cart checkout model into orchestration Cart model. -
Uses of SFCart in com.skava.cart.orchestration.model
Methods in com.skava.cart.orchestration.model with parameters of type SFCartModifier and TypeMethodDescriptionstatic SFItemCatagorizationModel
CreateOrderTransformation.constructItemMap
(SFCart sfCart, boolean isApplyStoreCredit) This method constructItemMap take input as sfCart and isApplyStoreCredit and return itemCategorization detailsstatic SFPaymentCatagorizationModel
CreateOrderTransformation.constructPaymentMap
(SFCart sfCart) This constructPaymentMap method take input as sfCart details and return paymentCategorization detailsstatic boolean
CreateOrderTransformation.isReplaceOrder
(SFCart sfCart) -
Uses of SFCart in com.skava.cart.orchestration.processor
Fields in com.skava.cart.orchestration.processor declared as SFCartModifier and TypeFieldDescriptionprotected SFCart
PromotionRequestPreProcessor.sfCart
The sf cart.Methods in com.skava.cart.orchestration.processor that return SFCartModifier and TypeMethodDescriptionstatic SFCart
ShippingMethodProcessor.getShippingMethodsForEstimatedAddress
(ShippingResponse shippingResponse, SFCart sfCart) Returns the SFCart object for getting shipping methods depending upon the inputItemStoreIdMappingProcessor.updateStoreId
(List<SFItem> items, String storeId) This method updates store id to the cart itemsMethods in com.skava.cart.orchestration.processor with parameters of type SFCartModifier and TypeMethodDescriptionstatic Shipping
ShippingResponseProcessor.calculateShippingFromEstimatedAddress
(SFCart sfCart, AddressOrchestration estimatedAddress, String shippingObject) Returns the Shipping object for Calculating Shipping from the estimated address for Cart depending upon the inputstatic void
AddGiftItemRequestProcessor.checkInventoryForNormalProductGifts
(List<CheckInventory> inventoryRes, SFCart sfCart, List<PromotionGiftResponse> availableGifts, PromotionGiftResponse gift) boolean
CheckLoyaltyItemsInBagProcessor.checkLoyaltyItemInBag
(SFCart sfCart, boolean isLoyaltyItemInBag, org.apache.camel.Exchange exchange) This method checks whether the loyalty purchase items are in cartstatic Item
ConvertSubscriptionToOneTimeAndReverse.convertToMicroServiceItem
(SFCart sfCart, SFItem sfItem, Long itemId) This model is used to convert the cart orchestration service cart item model to micro service Item modelprotected static List<PromotionCode>
This method is used to get the promo codes.static String
SFCartOrderTransformUtil.getCommunicationPreferenceEmail
(org.apache.camel.Exchange exchange, SFCart sfCart, AddressOrchestration address) Fetches the communication preference emailstatic SFCart
ShippingMethodProcessor.getShippingMethodsForEstimatedAddress
(ShippingResponse shippingResponse, SFCart sfCart) Returns the SFCart object for getting shipping methods depending upon the inputstatic BigDecimal
CalculateLoyaltyPointsProcessor.getTotalPriceForEligibleItems
(SFCart sfCart, SFCart sfCartProrated) This method is used to get sum of price of all eligible items for redemptionvoid
PaymentValidatePayment.loyaltyPointsValidate
(org.apache.camel.Exchange exchange, List<PaymentOrchestration> payments, SFCart sfcart) This process method is used to set the property based on type LoyaltyConstructUpdateCartPaymentToSFCartProcessor.setPaymentProperties
(List<Property> paymentPropertiesList, Payment payment, SFCart sfCart) Get payment properties as a Mapprotected static void
PromotionRequestPreProcessor.setPromotionDetailsToCart
(SFCart sfCart, List<PromotionCode> promotionCodes) This method is used to set the promotion details to the cart.static void
PaymentValidatePayment.setPropertyForLoyalty
(org.apache.camel.Exchange exchange, PaymentOrchestration paymentRequest, SFCart sfcart, BigDecimal openToRedeemPoints) This method sets property for loyaltyprotected void
Sets the SF cart.static List<ShippingMethodPriceInfo>
SFCartOrderTransformUtilExtended.setShippingMethodPriceInfo
(SFItem sfItem, SFCart sfCart, OrderItem orderItem) static FulfilmentInfo
SFCartOrderTransformUtil.updateItemFulfilmentInfos
(DeliveryDetails deliveryDetail, SFCart sfCarts, org.apache.camel.Exchange exchange) This method will update the fulfilmentInfosstatic void
PlaceOrderRequestProcessor.updateUserTracking
(Order orderOms, SFCart sfCart, Budgets activeBudget) This method updates the order user tracking. -
Uses of SFCart in com.skava.cart.orchestration.transformation
Methods in com.skava.cart.orchestration.transformation that return SFCartModifier and TypeMethodDescriptionCartTransformation.transformToSFCart
(CartAPIResponse cartAPIResponse) This method is used to transform the microservice cart api response to orchestration cart model and return orchestration cart responseMethods in com.skava.cart.orchestration.transformation with parameters of type SFCartModifier and TypeMethodDescriptionstatic void
SubscriptionAppPaymentTransformation.addAppPaymentProperties
(Map<String, String> paymentProperties, Payment payment, SFCart sfCart) This method is used to add the extra properties to process subscription recurring order.static Shipping
ShippingTransformation.getShipping
(SFCart sfCart) This model is used to get shipping request object for Cart/Item depending upon the input cart responsestatic void
SFCartTransformation.transformCartPromotion
(Cart cart, SFCart sfCart) This model is used to transform the microservice cart promotion to orchestration cart promotion modelstatic void
CartCatalogTransformation.updateCatalogInfoInSFCart
(SFCart sfCart, Map<String, ProductLoadResponse> catalogResponses, org.apache.camel.Exchange newExchange) This method is used to update the catalog information in SFCartstatic void
CartInventoryTransformation.updateInventoryInfoInSFCart
(org.apache.camel.Exchange exchange, SFCart sfCart, Map<String, List<CheckInventory>> inventoryResponses, Long requestedItemId) This method is used to update the inventory information in SFCartstatic FulfilmentInfo
CartOrderTransformUtil.updateItemFulfilmentInfo
(DeliveryDetails deliveryDetails, SFItem sfItem, SFCart sfCart) This method is used to update the cart item fulfilment information and returns the updated fulfilment information.static void
SFCartTransformation.updateMath
(Order orderOms, SFCart sfCart) This method is used to update the math calculation information of the ordered itemstatic void
CartOrderTransformation.updateMaths
(Order orderOms, SFCart sfCart) This method is used to update the math calculation information of the ordered itemstatic void
CartOrderTransformationUtil.updateOrderDetails
(SFCart sfCart, Order orderOms) This method is used to update the ordered details from the cart responsestatic void
SFCartTransformationExtended.updateOrderDetails
(SFCart sfCart, Order orderOms, org.apache.camel.Exchange exchange) This method is used to update the ordered details from the cart responsestatic void
CartOrderTransformation.updateOrderItems
(Order orderOms, SFCart sfCart, String binName, String productPropertyToEarnRewards, String enableZeroCheckout, boolean isB2B2C, boolean csrOrder) This method is used to update the ordered items.static void
CartOrderTransformationUtil.updateOrderItems
(Order orderOms, SFCart sfCart, String binName, Map<Long, SFItemPaymentModel> itemPaymentResponseMap, org.apache.camel.Exchange exchange) This method is used to update the ordered items.static void
CartPriceTransformation.updatePriceInfoInSFCart
(SFCart sfCart, Map<String, PricesAPIResponse> priceResponses, List<String> myList) This method is used to update the price information in the cart responsestatic void
CartShippingTransformation.updateShippingInfoInSFCart
(SFCart sfCart, ShippingResponse calculatedShipping) This method is used to update the shipping information in the cart responsestatic void
CartUserTransformation.updateUserInfoInSFCart
(SFCart sfCart, Users usersResponse) This method is used to update the user information in the cart response -
Uses of SFCart in com.skava.cart.orchestration.utils
Methods in com.skava.cart.orchestration.utils with parameters of type SFCartModifier and TypeMethodDescriptionstatic BigDecimal
CartItemUtil.getTotalPriceForEligibleItems
(SFCart sfCart) This method is used to get sum of price of all eligible items for redemptionstatic Boolean
CartItemUtil.isLastItemForNonCashPayment
(SFCart sfCart, SFItem sfItem) This method is used to check if the item is last item in the list for loyalty paymentstatic void
CartItemUtil.setItemPriceFacets
(SFItem sfItem, SFCart sfCart, OrderItem orderItem) This method is used to set item price facetsstatic OrderItem
CartItemUtil.updateOrderItem
(SFItem sfItem, SFCart sfCart, List<Payment> nonCashPayments, List<Payment> cashPayments, Map<String, BigDecimal> paymentBalanceMap, String productPropertyToEarnRewards, Map<String, String> commonVar) This method is used to update an order item. -
Uses of SFCart in com.skava.oms.orchestration.processor
Methods in com.skava.oms.orchestration.processor with parameters of type SFCartModifier and TypeMethodDescriptionvoid
UpdateOrderProcessor.updateOrderInfo
(Order orderOms, SFCart sfCart) This method is used to update ordered information from the cart response -
Uses of SFCart in com.skava.oms.orchestration.util
Methods in com.skava.oms.orchestration.util with parameters of type SFCartModifier and TypeMethodDescriptionstatic boolean
OrderUtils.isZeroCartOrder
(String enableZeroCheckout, SFCart sfCart) This method is used to check if storeProperty enableZeroCheckout is true and cart total is zerostatic void
OrderUtils.updateOrderInfos
(Order order, SFCart sfCart, org.apache.camel.Exchange exchange, boolean csrOrder) This method is used to update ordered information based on the store id from the cart response -
Uses of SFCart in com.skava.orchestration.utils
Methods in com.skava.orchestration.utils with parameters of type SFCartModifier and TypeMethodDescriptionstatic LoyaltyUserMath
LoyaltyUtils.getLoyaltyUserMath
(SFCart sfCart, String key) static void
CheckProductEligibleForSubscriptionUtils.setSubscriptionProperty
(SFCart sfCart) This method is used to check if product is subscription item and set the property. -
Uses of SFCart in com.skava.promotion.orchestration.processor
Methods in com.skava.promotion.orchestration.processor with parameters of type SFCartModifier and TypeMethodDescriptionstatic void
PromotionValidationResponseProcessorExtend.checkCartGiftList
(SFCart sfCart, List<PromotionGiftResponse> promoGiftList) static void
PromotionValidationResponseProcessorExtend.checkPromoGiftList
(SFCart sfCart, List<PromotionGiftResponse> promoGiftList, List<PromotionCoupon> promoCouponList) PromotionRequestProcessor.createPromotionAccount
(SFCart cart, org.apache.camel.Exchange exchange) This method is used to create promotion account information for the promotion request from the orchestration cart response.PromotionRequestProcessor.createPromotionBundle
(SFCart cart, String productPropertiesForPromotion, boolean isSubscriptionFlow) This method is used to create promotion bundle information for the promotion request.PromotionRequestProcessor.createPromotionCart
(SFCart cart, String productPropertyToAllowDiscount) This method is used to create promotion cart information for the promotion request from the orchestration cart responsePromotionRequestProcessor.createPromotionPayment
(SFCart cart) This method is used to create promotion payment information for the promotion request from the orchestration cart response.PromotionRequestProcessor.createPromotionSkus
(SFCart cart, String productPropertiesForPromotion, Map<Long, ItemResponse> outOfStockItems, boolean isSubscriptionFlow) This method is used to create promotion skus information for the promotion request.PromotionRequestProcessor.createPromotionUser
(SFCart cart, org.apache.camel.Exchange exchange) This method is used to create promotion user information for the promotion request from the orchestration cart response. -
Uses of SFCart in com.skava.promotion.orchestration.utils
Methods in com.skava.promotion.orchestration.utils with parameters of type SFCartModifier and TypeMethodDescriptionPromotionUtils.createPromotionCoupon
(SFCart cart) This method is used to create promotion discount coupon information for the promotion request from the orchestration cart response.static double
PromotionUtilsExtend.getCartPromotionTotalValue
(SFCart cart, String discountProperty) getCartPromotionTotalValuestatic Boolean
PromotionUtilsExtend.isOnlySubscripitionItems
(SFCart cart) isOnlySubscripitionItemsstatic Boolean
PromotionUtilsExtend.isValidItemToProcess
(SFCart cart, SFItem item) isValidItemToProcessPromotionUtilsExtend.setCartPriceFacets
(SFCart cart, String discountProperty, boolean isForEligiblePdts) This method is used to set cart eligible priceFacets to the promotion cart object -
Uses of SFCart in com.skava.quotation.orchestration.aggregation
Methods in com.skava.quotation.orchestration.aggregation with parameters of type SFCartModifier and TypeMethodDescriptionvoid
QuotationGetItemsAggregationStrategy.checkPriceAndUpdateQuote
(org.apache.camel.Exchange newExchange, SFCart sfCart, CreateItemListRequest createItemList) void
QuotationGetItemsAggregationStrategy.mergeInfoToQuoteItem
(SFCart sfCart, CreateItemListRequest createItemList) This method is used to merge price to quote skuvoid
QuotationGetItemsAggregationStrategy.updateQuotePrice
(org.apache.camel.Exchange newExchange, SFCart sfCart, CreateItemListRequest createItemList) This method is used to get price of sku -
Uses of SFCart in com.skava.quotation.orchestration.transformation
Methods in com.skava.quotation.orchestration.transformation with parameters of type SFCartModifier and TypeMethodDescriptionstatic void
QuotationPriceTransformation.updatePriceInfoInSFCart
(SFCart sfCart, Map<String, PricesAPIResponse> priceResponses, List<String> myList) This method is used to update the price information in the cart response -
Uses of SFCart in com.skava.subscription.orchestration.processor
Methods in com.skava.subscription.orchestration.processor that return SFCartModifier and TypeMethodDescriptionUpdateCartAndItemInfoProcessor.updateStoreId
(org.apache.camel.Exchange exchange, Users userResponse, List<SFItem> items, String storeId) This method updates store id to the cart itemsMethods in com.skava.subscription.orchestration.processor with parameters of type SFCartModifier and TypeMethodDescriptionstatic Map<String,
BigDecimal> ConstructPreferenceCartDetailsProcessor.constructLivePriceMap
(SFCart sfCart) This method is used to construct live price map for the valid items in cart