Class B2BDocumentPaymentInfoPopulator
- java.lang.Object
-
- de.hybris.platform.accountsummaryaddon.document.populators.B2BDocumentPaymentInfoPopulator
-
- All Implemented Interfaces:
Populator<B2BDocumentPaymentInfoModel,B2BDocumentPaymentInfoData>
public class B2BDocumentPaymentInfoPopulator extends java.lang.Object implements Populator<B2BDocumentPaymentInfoModel,B2BDocumentPaymentInfoData>
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringCC_PAYMENT
-
Constructor Summary
Constructors Constructor Description B2BDocumentPaymentInfoPopulator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected CommerceCommonI18NServicegetCommerceCommonI18NService()protected CommonI18NServicegetCommonI18NService()protected java.lang.StringgetFormattedAmount(B2BDocumentPaymentInfoModel source)protected I18NServicegetI18NService()protected java.lang.StringgetPaymentMethod(boolean usingDocument, B2BDocumentModel document)voidpopulate(B2BDocumentPaymentInfoModel source, B2BDocumentPaymentInfoData target)Populate the target instance with values from the source instance.voidsetAmountFormatter(AmountFormatter amountFormatter)voidsetCommerceCommonI18NService(CommerceCommonI18NService commerceCommonI18NService)voidsetCommonI18NService(CommonI18NService commonI18NService)voidsetI18NService(I18NService i18NService)
-
-
-
Field Detail
-
CC_PAYMENT
public static final java.lang.String CC_PAYMENT
- See Also:
- Constant Field Values
-
-
Method Detail
-
populate
public void populate(B2BDocumentPaymentInfoModel source, B2BDocumentPaymentInfoData target) throws ConversionException
Description copied from interface:PopulatorPopulate the target instance with values from the source instance.- Specified by:
populatein interfacePopulator<B2BDocumentPaymentInfoModel,B2BDocumentPaymentInfoData>- Parameters:
source- the source objecttarget- the target to fill- Throws:
ConversionException- if an error occurs
-
getPaymentMethod
protected java.lang.String getPaymentMethod(boolean usingDocument, B2BDocumentModel document)
-
getFormattedAmount
protected java.lang.String getFormattedAmount(B2BDocumentPaymentInfoModel source)
-
getCommerceCommonI18NService
protected CommerceCommonI18NService getCommerceCommonI18NService()
-
setCommerceCommonI18NService
public void setCommerceCommonI18NService(CommerceCommonI18NService commerceCommonI18NService)
-
getI18NService
protected I18NService getI18NService()
-
setI18NService
public void setI18NService(I18NService i18NService)
-
getCommonI18NService
protected CommonI18NService getCommonI18NService()
-
setCommonI18NService
public void setCommonI18NService(CommonI18NService commonI18NService)
-
setAmountFormatter
public void setAmountFormatter(AmountFormatter amountFormatter)
-
-