Class SubscriptionOrderEntryPopulator
- java.lang.Object
-
- de.hybris.platform.commercefacades.order.converters.populator.OrderEntryPopulator
-
- de.hybris.platform.subscriptionfacades.order.converters.populator.SubscriptionOrderEntryPopulator
-
- All Implemented Interfaces:
Populator<AbstractOrderEntryModel,OrderEntryData>
public class SubscriptionOrderEntryPopulator extends OrderEntryPopulator
Converter for converting order / cart entries. It sets the total and base prices for entries that have multiple billing frequencies (as they are subscription products)
-
-
Constructor Summary
Constructors Constructor Description SubscriptionOrderEntryPopulator()
-
Method Summary
-
Methods inherited from class de.hybris.platform.commercefacades.order.converters.populator.OrderEntryPopulator
addComments, addCommon, addConfigurations, addDeliveryMode, addEntryGroups, addProduct, addTotals, adjustUpdateable, createPrice, getDeliveryModeConverter, getEntryGroupService, getEntryOrderChecker, getOrderCommentConverter, getPointOfServiceConverter, getPriceDataFactory, getProductConfigurationConverter, getProductConverter, setDeliveryModeConverter, setEntryGroupService, setEntryOrderChecker, setOrderCommentConverter, setPointOfServiceConverter, setPriceDataFactory, setProductConfigurationConverter, setProductConverter
-
-
-
-
Method Detail
-
populate
public void populate(@Nonnull AbstractOrderEntryModel source, @Nonnull OrderEntryData target)Description copied from interface:PopulatorPopulate the target instance with values from the source instance.- Specified by:
populatein interfacePopulator<AbstractOrderEntryModel,OrderEntryData>- Overrides:
populatein classOrderEntryPopulator- Parameters:
source- the source objecttarget- the target to fill
-
getOrderEntryPricesForEntry
@Nonnull protected java.util.List<OrderEntryPriceData> getOrderEntryPricesForEntry(@Nonnull AbstractOrderEntryModel source)
-
buildBillingTimes
@Nonnull protected java.util.List<BillingTimeData> buildBillingTimes(@Nonnull AbstractOrderEntryModel source)
-
createOrderEntryPriceDataForEntry
@Nonnull protected OrderEntryPriceData createOrderEntryPriceDataForEntry(@Nonnull AbstractOrderEntryModel entry)
-
getBillingTimeConverter
protected Converter<BillingTimeModel,BillingTimeData> getBillingTimeConverter()
-
setBillingTimeConverter
public void setBillingTimeConverter(Converter<BillingTimeModel,BillingTimeData> billingFrequencyConverter)
-
getSubscriptionXStreamAliasConverter
protected SubscriptionXStreamAliasConverter getSubscriptionXStreamAliasConverter()
-
setSubscriptionXStreamAliasConverter
public void setSubscriptionXStreamAliasConverter(SubscriptionXStreamAliasConverter subscriptionXStreamAliasConverter)
-
getSubscriptionProductService
protected SubscriptionProductService getSubscriptionProductService()
- Returns:
- subscription product service.
-
setSubscriptionProductService
public void setSubscriptionProductService(SubscriptionProductService subscriptionProductService)
-
getBillingTimeComparator
protected java.util.Comparator getBillingTimeComparator()
-
setBillingTimeComparator
public void setBillingTimeComparator(BillingTimeComparator billingTimeComparator)
-
-