Class B2BDocumentPaymentInfoPopulator
java.lang.Object
de.hybris.platform.b2bacceleratorfacades.document.populators.B2BDocumentPaymentInfoPopulator
- All Implemented Interfaces:
Populator<B2BDocumentPaymentInfoModel,B2BDocumentPaymentInfoData>
public class B2BDocumentPaymentInfoPopulator
extends Object
implements Populator<B2BDocumentPaymentInfoModel,B2BDocumentPaymentInfoData>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected CommerceCommonI18NServiceprotected CommonI18NServiceprotected Stringprotected I18NServiceprotected 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 Details
-
CC_PAYMENT
- See Also:
-
-
Constructor Details
-
B2BDocumentPaymentInfoPopulator
public B2BDocumentPaymentInfoPopulator()
-
-
Method Details
-
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
-
getFormattedAmount
-
getCommerceCommonI18NService
-
setCommerceCommonI18NService
-
getI18NService
-
setI18NService
-
getCommonI18NService
-
setCommonI18NService
-
setAmountFormatter
-