Package PayPalAPI.api.ebay

Examples of PayPalAPI.api.ebay.DoExpressCheckoutPaymentRequestType


        LOG.debug("Setting ButtonSource to [" + JavaCommerce.VERSION + "]");
      }
      dpReq.getDoDirectPaymentRequestDetails().getPaymentDetails().setButtonSource(JavaCommerce.VERSION);
    }
    else if (_request instanceof DoExpressCheckoutPaymentRequestType) {
      DoExpressCheckoutPaymentRequestType ecReq = (DoExpressCheckoutPaymentRequestType) _request;
      if (ecReq.getDoExpressCheckoutPaymentRequestDetails() == null) {
        ecReq.setDoExpressCheckoutPaymentRequestDetails(new DoExpressCheckoutPaymentRequestDetailsType());
      }
      if (ecReq.getDoExpressCheckoutPaymentRequestDetails().getPaymentDetails() == null) {
        ecReq.getDoExpressCheckoutPaymentRequestDetails().setPaymentDetails(new PaymentDetailsType());
      }
      if (LOG.isDebugEnabled()) {
        LOG.debug("Setting ButtonSource to [" + JavaCommerce.VERSION + "]");
      }
      ecReq.getDoExpressCheckoutPaymentRequestDetails().getPaymentDetails().setButtonSource(JavaCommerce.VERSION);
    }
    else if (_request instanceof BillUserRequestType) {
      BillUserRequestType buReq = (BillUserRequestType) _request;
      if (buReq.getMerchantPullPaymentDetails() == null) {
        buReq.setMerchantPullPaymentDetails(new MerchantPullPaymentType());
View Full Code Here


   * @throws RemoteException
   * @throws ServiceException
   * @throws SOAPException
   */
  public static final DoExpressCheckoutPaymentResponseType doExpressCheckoutPayment(DoExpressCheckoutPaymentRequestDetailsType _requestDetails, APICredential _credentials) throws RemoteException {
    DoExpressCheckoutPaymentRequestType request = new DoExpressCheckoutPaymentRequestType(_requestDetails);
    request.setVersion(CURRENT_VERSION);
    return doExpressCheckoutPayment(request, _credentials);
  }
View Full Code Here

TOP

Related Classes of PayPalAPI.api.ebay.DoExpressCheckoutPaymentRequestType

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.