public static final DoDirectPaymentRequestDetailsType buildDoDirectPaymentRequestDetails(HttpServletRequest _request) {
DoDirectPaymentRequestDetailsType details = new DoDirectPaymentRequestDetailsType();
CreditCardDetailsType cardDetails = new CreditCardDetailsType();
PayerInfoType cardOwner = new PayerInfoType();
cardOwner.setAddress(buildAddress(_request));
if (_request.getParameter(PARAM_PAYER) != null) {
cardOwner.setPayer(_request.getParameter(PARAM_PAYER));
}
PersonNameType name = new PersonNameType();
if (_request.getParameter(PARAM_FIRST_NAME) != null) {
name.setFirstName(_request.getParameter(PARAM_FIRST_NAME));
}
if (_request.getParameter(PARAM_LAST_NAME) != null) {
name.setLastName(_request.getParameter(PARAM_LAST_NAME));
}
cardOwner.setPayerName(name);
cardDetails.setCardOwner(cardOwner);
if (_request.getParameter(PARAM_CREDIT_CARD_NUMBER) != null) {
cardDetails.setCreditCardNumber(_request.getParameter(PARAM_CREDIT_CARD_NUMBER));
}
if (_request.getParameter(PARAM_CREDIT_CARD_TYPE) != null) {