Package PayPalAPI.api.ebay

Examples of PayPalAPI.api.ebay.GetExpressCheckoutDetailsResponseType


   * @throws SOAPException
   */
  public static final GetExpressCheckoutDetailsResponseType getExpressCheckoutDetails(GetExpressCheckoutDetailsRequestType _request, APICredential _credentials) throws RemoteException {
    long startTime = System.currentTimeMillis();
    validateRequest(_request);
    GetExpressCheckoutDetailsResponseType response = getAPIAAInterface(_credentials).getExpressCheckoutDetails(new GetExpressCheckoutDetailsReq(_request));
    processResponse(response);
    long endTime = System.currentTimeMillis();
    logMessage(startTime, endTime, response, "API.getExpressCheckoutDetails");
    return response;
  }
View Full Code Here


      PostMethod post = new PostMethod(getApiAAUrl().toExternalForm());
      post.addParameters(getExpressCheckoutDetailsRequest.getGetExpressCheckoutDetailsRequest().getNVPFields(getCredentials()));
      try {
        client.executeMethod(post);
        if (post.getStatusCode() == HttpStatus.SC_OK) {
          return new GetExpressCheckoutDetailsResponseType(post.getResponseBodyAsStream());
        }
        else {
          throw new RemoteException("Error processing request [" + post.getStatusCode() + ": " + post.getStatusText() + "]");
        }
      } catch (HttpException e) {
View Full Code Here

    }
    try {
      if (LOG.isDebugEnabled()) {
        LOG.debug("Executing GetExpressCheckoutDetails API call");
      }
      GetExpressCheckoutDetailsResponseType response = API
          .getExpressCheckoutDetails(_request
              .getParameter(APIUtil.PARAM_TOKEN),
              credentials);
      if (LOG.isDebugEnabled()) {
        LOG.debug("GetExpressCheckoutDetails API call returned ["
            + response.getAck() + "], building XML.");
      }
      writeObject(response, _response);
      if (LOG.isDebugEnabled()) {
        LOG.debug("XML written to Output Stream");
      }
View Full Code Here

TOP

Related Classes of PayPalAPI.api.ebay.GetExpressCheckoutDetailsResponseType

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.