return address;
}
public static final DoExpressCheckoutPaymentRequestDetailsType buildDoExpressCheckoutPaymentDetailsRequest(
HttpServletRequest _request) {
DoExpressCheckoutPaymentRequestDetailsType request = new DoExpressCheckoutPaymentRequestDetailsType();
PaymentDetailsType details = buildPaymentDetails(_request);
request.setPaymentDetails(details);
if (_request.getParameter("payerID") != null) {
request.setPayerID(_request.getParameter("payerID"));
}
if (_request.getParameter(PARAM_PAYMENT_ACTION) != null) {
request.setPaymentAction(PaymentActionCodeType.fromString(_request
.getParameter(PARAM_PAYMENT_ACTION)));
}
if (_request.getParameter(PARAM_TOKEN) != null) {
request.setToken(_request.getParameter(PARAM_TOKEN));
}
return request;
}