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 -
Method Summary
Modifier and TypeMethodDescriptionvoidpopulate(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
-
Constructor Details
-
CustomerInfoRequestPopulator
public CustomerInfoRequestPopulator()
-
-
Method Details
-
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
-