ecReq.getDoExpressCheckoutPaymentRequestDetails().getPaymentDetails().setButtonSource(JavaCommerce.VERSION);
}
else if (_request instanceof BillUserRequestType) {
BillUserRequestType buReq = (BillUserRequestType) _request;
if (buReq.getMerchantPullPaymentDetails() == null) {
buReq.setMerchantPullPaymentDetails(new MerchantPullPaymentType());
}
if (LOG.isDebugEnabled()) {
LOG.debug("Setting ButtonSource to [" + JavaCommerce.VERSION + "]");
}
buReq.getMerchantPullPaymentDetails().setButtonSource(JavaCommerce.VERSION);