Class CCPaymentInfoReversePopulator
java.lang.Object
de.hybris.platform.commercefacades.user.converters.populator.CCPaymentInfoReversePopulator
- All Implemented Interfaces:
Populator<CCPaymentInfoData,CreditCardPaymentInfoModel>
public class CCPaymentInfoReversePopulator
extends Object
implements Populator<CCPaymentInfoData,CreditCardPaymentInfoModel>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected AddressReversePopulatorprotected EnumerationServiceprotected StringgetMaskedCardNumber(String cardNumber) voidpopulate(CCPaymentInfoData ccPaymentInfoData, CreditCardPaymentInfoModel cardPaymentInfoModel) Populate the target instance with values from the source instance.voidsetAddressReversePopulator(AddressReversePopulator addressReversePopulator) voidsetEnumerationService(EnumerationService enumerationService)
-
Constructor Details
-
CCPaymentInfoReversePopulator
public CCPaymentInfoReversePopulator()
-
-
Method Details
-
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
-
setAddressReversePopulator
-
setEnumerationService
-
getAddressReversePopulator
-
getMaskedCardNumber
-