public class B2BDocumentPaymentInfoPopulator extends java.lang.Object implements Populator<B2BDocumentPaymentInfoModel,B2BDocumentPaymentInfoData>
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CC_PAYMENT |
| Constructor and Description |
|---|
B2BDocumentPaymentInfoPopulator() |
| Modifier and Type | Method and Description |
|---|---|
protected CommerceCommonI18NService |
getCommerceCommonI18NService() |
protected CommonI18NService |
getCommonI18NService() |
protected java.lang.String |
getFormattedAmount(B2BDocumentPaymentInfoModel source) |
protected I18NService |
getI18NService() |
protected java.lang.String |
getPaymentMethod(boolean usingDocument,
B2BDocumentModel document) |
void |
populate(B2BDocumentPaymentInfoModel source,
B2BDocumentPaymentInfoData target)
Populate the target instance with values from the source instance.
|
void |
setAmountFormatter(AmountFormatter amountFormatter) |
void |
setCommerceCommonI18NService(CommerceCommonI18NService commerceCommonI18NService) |
void |
setCommonI18NService(CommonI18NService commonI18NService) |
void |
setI18NService(I18NService i18NService) |
public static final java.lang.String CC_PAYMENT
public void populate(B2BDocumentPaymentInfoModel source, B2BDocumentPaymentInfoData target) throws ConversionException
Populatorpopulate in interface Populator<B2BDocumentPaymentInfoModel,B2BDocumentPaymentInfoData>source - the source objecttarget - the target to fillConversionException - if an error occursprotected java.lang.String getPaymentMethod(boolean usingDocument,
B2BDocumentModel document)
protected java.lang.String getFormattedAmount(B2BDocumentPaymentInfoModel source)
protected CommerceCommonI18NService getCommerceCommonI18NService()
public void setCommerceCommonI18NService(CommerceCommonI18NService commerceCommonI18NService)
protected I18NService getI18NService()
public void setI18NService(I18NService i18NService)
protected CommonI18NService getCommonI18NService()
public void setCommonI18NService(CommonI18NService commonI18NService)
public void setAmountFormatter(AmountFormatter amountFormatter)
Copyright © 2018 SAP SE. All Rights Reserved.