public class HttpRequestPaymentInfoPopulator extends AbstractHttpRequestDataPopulator implements ConfigurablePopulator<HttpServletRequest,CCPaymentInfoData,PaymentInfoOption>
CCPaymentInfoData instance from the HttpServletRequest parameters:PaymentInfoOption.BILLING_ADDRESS, it uses
HttpRequestAddressDataPopulator with prefix 'billingAddress' to populate also the billing address data from
http request request parameters.| Constructor and Description |
|---|
HttpRequestPaymentInfoPopulator() |
| Modifier and Type | Method and Description |
|---|---|
protected HttpRequestAddressDataPopulator |
getAddressPopulator() |
void |
populate(HttpServletRequest request,
CCPaymentInfoData target,
java.util.Collection<PaymentInfoOption> options)
Populate the target instance from the source instance.
|
getRequestParameterValue, updateBooleanValueFromRequest, updateDoubleValueFromRequest, updateStringValueFromRequestpublic void populate(HttpServletRequest request,
CCPaymentInfoData target,
java.util.Collection<PaymentInfoOption> options)
throws ConversionException
ConfigurablePopulatorpopulate in interface ConfigurablePopulator<HttpServletRequest,CCPaymentInfoData,PaymentInfoOption>request - the source objecttarget - the target to filloptions - options used to control what data is populatedConversionException - if an error occursprotected HttpRequestAddressDataPopulator getAddressPopulator()
Copyright © 2018 SAP SE. All Rights Reserved.