Class CustomerInfoRequestPopulator
- java.lang.Object
-
- de.hybris.platform.acceleratorservices.payment.cybersource.converters.populators.request.AbstractRequestPopulator<CreateSubscriptionRequest,PaymentData>
-
- de.hybris.platform.acceleratorservices.payment.cybersource.converters.populators.request.CustomerInfoRequestPopulator
-
- All Implemented Interfaces:
Populator<CreateSubscriptionRequest,PaymentData>
public class CustomerInfoRequestPopulator extends AbstractRequestPopulator<CreateSubscriptionRequest,PaymentData>
-
-
Constructor Summary
Constructors Constructor Description CustomerInfoRequestPopulator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidpopulate(CreateSubscriptionRequest source, PaymentData target)Populate the target instance with values from the source instance.protected voidpopulateBillingInfo(CustomerBillToData source, PaymentData target)protected voidpopulateShippingInfo(CustomerShipToData source, PaymentData target)-
Methods inherited from class de.hybris.platform.acceleratorservices.payment.cybersource.converters.populators.request.AbstractRequestPopulator
addBooleanParameter, addRequestQueryParam
-
-
-
-
Method Detail
-
populate
public void populate(CreateSubscriptionRequest source, PaymentData target) throws ConversionException
Description copied from interface:PopulatorPopulate the target instance with values from the source instance.- Parameters:
source- the source objecttarget- the target to fill- Throws:
ConversionException- if an error occurs
-
populateBillingInfo
protected void populateBillingInfo(CustomerBillToData source, PaymentData target) throws ConversionException
- Throws:
ConversionException
-
populateShippingInfo
protected void populateShippingInfo(CustomerShipToData source, PaymentData target) throws ConversionException
- Throws:
ConversionException
-
-