Class DefaultCCPaymentInfoDataPopulator
java.lang.Object
de.hybris.platform.integration.cis.subscription.populators.DefaultCCPaymentInfoDataPopulator
- All Implemented Interfaces:
Populator<Map<String,String>, CCPaymentInfoData>
public class DefaultCCPaymentInfoDataPopulator
extends Object
implements Populator<Map<String,String>,CCPaymentInfoData>
Default credit card payment info populator.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidpopulate(Map<String, String> source, CCPaymentInfoData target) Populate the target instance with values from the source instance.protected voidpopulateBillingAddress(AddressData billingAddress, Map<String, String> source)
-
Field Details
-
EXPIRY_MONTH_END_INDEX
public static final int EXPIRY_MONTH_END_INDEX- See Also:
-
EXPIRY_YEAR_BEGIN_INDEX
public static final int EXPIRY_YEAR_BEGIN_INDEX- See Also:
-
EXPIRY_YEAR_END_INDEX
public static final int EXPIRY_YEAR_END_INDEX- See Also:
-
-
Constructor Details
-
DefaultCCPaymentInfoDataPopulator
public DefaultCCPaymentInfoDataPopulator()
-
-
Method Details
-
populate
public void populate(Map<String, String> source, CCPaymentInfoData target) throws IllegalArgumentExceptionDescription copied from interface:PopulatorPopulate the target instance with values from the source instance.- Specified by:
populatein interfacePopulator<Map<String,String>, CCPaymentInfoData> - Parameters:
source- the source objecttarget- the target to fill- Throws:
IllegalArgumentException
-
populateBillingAddress
-