Class DefaultSAPRevenueCloudBillDetailPopulator
- java.lang.Object
-
- de.hybris.platform.sap.saprevenuecloudorder.populators.DefaultSAPRevenueCloudBillDetailPopulator
-
- Type Parameters:
SOURCE- source classTARGET- target class
- All Implemented Interfaces:
Populator<BillItem,SubscriptionBillingData>
public class DefaultSAPRevenueCloudBillDetailPopulator extends java.lang.Object implements Populator<BillItem,SubscriptionBillingData>
Populate DTOSubscriptionBillingDatawith data fromBillItem.
-
-
Constructor Summary
Constructors Constructor Description DefaultSAPRevenueCloudBillDetailPopulator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CMSSiteServicegetCmsSiteService()CommonI18NServicegetCommonI18NService()PriceDataFactorygetPriceDataFactory()Populator<ProductModel,ProductData>getProductUrlPopulator()SapRevenueCloudProductServicegetSapRevenueCloudProductService()voidpopulate(BillItem source, SubscriptionBillingData target)Populate the target instance with values from the source instance.protected java.util.List<UsageChargeData>populateBillingCharges(BillItem billItem)voidsetCmsSiteService(CMSSiteService cmsSiteService)voidsetCommonI18NService(CommonI18NService commonI18NService)voidsetPriceDataFactory(PriceDataFactory priceDataFactory)voidsetProductUrlPopulator(Populator<ProductModel,ProductData> productUrlPopulator)voidsetSapRevenueCloudProductService(SapRevenueCloudProductService sapRevenueCloudProductService)
-
-
-
Method Detail
-
populate
public void populate(BillItem source, SubscriptionBillingData target) throws ConversionException
Description copied from interface:PopulatorPopulate the target instance with values from the source instance.- Specified by:
populatein interfacePopulator<BillItem,SubscriptionBillingData>- Parameters:
source- the source objecttarget- the target to fill- Throws:
ConversionException- if an error occurs
-
populateBillingCharges
protected java.util.List<UsageChargeData> populateBillingCharges(BillItem billItem)
-
getPriceDataFactory
public PriceDataFactory getPriceDataFactory()
-
setPriceDataFactory
public void setPriceDataFactory(PriceDataFactory priceDataFactory)
-
getSapRevenueCloudProductService
public SapRevenueCloudProductService getSapRevenueCloudProductService()
-
setSapRevenueCloudProductService
public void setSapRevenueCloudProductService(SapRevenueCloudProductService sapRevenueCloudProductService)
-
getCommonI18NService
public CommonI18NService getCommonI18NService()
-
setCommonI18NService
public void setCommonI18NService(CommonI18NService commonI18NService)
-
getProductUrlPopulator
public Populator<ProductModel,ProductData> getProductUrlPopulator()
-
setProductUrlPopulator
public void setProductUrlPopulator(Populator<ProductModel,ProductData> productUrlPopulator)
-
getCmsSiteService
public CMSSiteService getCmsSiteService()
-
setCmsSiteService
public void setCmsSiteService(CMSSiteService cmsSiteService)
-
-