Class CisCCPaymentInfoDataPopulator
java.lang.Object
de.hybris.platform.integration.cis.subscription.populators.CisCCPaymentInfoDataPopulator
- All Implemented Interfaces:
Populator<org.springframework.http.ResponseEntity,CCPaymentInfoData>
public class CisCCPaymentInfoDataPopulator
extends Object
implements Populator<org.springframework.http.ResponseEntity,CCPaymentInfoData>
Populates a
CCPaymentInfoData from a ResponseEntity.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidpopulate(org.springframework.http.ResponseEntity source, CCPaymentInfoData target) Populate the target instance with values from the source instance.protected voidpopulateBillingAddress(AddressData billingAddress, com.hybris.cis.api.model.CisAddress source) protected voidpopulateCardType(String source, CCPaymentInfoData target)
-
Field Details
-
PAD_SIZE
public static final int PAD_SIZE- See Also:
-
-
Constructor Details
-
CisCCPaymentInfoDataPopulator
public CisCCPaymentInfoDataPopulator()
-
-
Method Details
-
populate
public void populate(org.springframework.http.ResponseEntity source, CCPaymentInfoData target) throws IllegalArgumentException Description copied from interface:PopulatorPopulate the target instance with values from the source instance.- Specified by:
populatein interfacePopulator<org.springframework.http.ResponseEntity,CCPaymentInfoData> - Parameters:
source- the source objecttarget- the target to fill- Throws:
IllegalArgumentException
-
populateCardType
-
populateBillingAddress
protected void populateBillingAddress(AddressData billingAddress, com.hybris.cis.api.model.CisAddress source)
-