Class CCPaymentInfoReversePopulator
- java.lang.Object
-
- de.hybris.platform.commercefacades.user.converters.populator.CCPaymentInfoReversePopulator
-
- All Implemented Interfaces:
Populator<CCPaymentInfoData,CreditCardPaymentInfoModel>
public class CCPaymentInfoReversePopulator extends java.lang.Object implements Populator<CCPaymentInfoData,CreditCardPaymentInfoModel>
-
-
Constructor Summary
Constructors Constructor Description CCPaymentInfoReversePopulator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected AddressReversePopulatorgetAddressReversePopulator()protected EnumerationServicegetEnumerationService()protected java.lang.StringgetMaskedCardNumber(java.lang.String cardNumber)voidpopulate(CCPaymentInfoData ccPaymentInfoData, CreditCardPaymentInfoModel cardPaymentInfoModel)Populate the target instance with values from the source instance.voidsetAddressReversePopulator(AddressReversePopulator addressReversePopulator)voidsetEnumerationService(EnumerationService enumerationService)
-
-
-
Method Detail
-
populate
public void populate(CCPaymentInfoData ccPaymentInfoData, CreditCardPaymentInfoModel cardPaymentInfoModel) throws ConversionException
Description copied from interface:PopulatorPopulate the target instance with values from the source instance.- Specified by:
populatein interfacePopulator<CCPaymentInfoData,CreditCardPaymentInfoModel>- Parameters:
ccPaymentInfoData- the source objectcardPaymentInfoModel- the target to fill- Throws:
ConversionException- if an error occurs
-
getEnumerationService
protected EnumerationService getEnumerationService()
-
setAddressReversePopulator
public void setAddressReversePopulator(AddressReversePopulator addressReversePopulator)
-
setEnumerationService
public void setEnumerationService(EnumerationService enumerationService)
-
getAddressReversePopulator
protected AddressReversePopulator getAddressReversePopulator()
-
getMaskedCardNumber
protected java.lang.String getMaskedCardNumber(java.lang.String cardNumber)
-
-