/// <summary>
        /// 
        /// </summary>
        ///<param name="completeRecoupReq"></param>
        ///<param name="credential">An explicit ICredential object that you want to authenticate this call against</param> 
        public CompleteRecoupResponseType CompleteRecoup(CompleteRecoupReq completeRecoupReq, ICredential credential)
        {
            setStandardParams(completeRecoupReq.CompleteRecoupRequest);
            DefaultSOAPAPICallHandler defaultHandler = new DefaultSOAPAPICallHandler(this.config, completeRecoupReq.ToXMLString(null, "CompleteRecoupReq"), null, null);
            IAPICallPreHandler apiCallPreHandler = new MerchantAPICallPreHandler(this.config, defaultHandler, credential);
            ((MerchantAPICallPreHandler) apiCallPreHandler).SDKName = SDKName;
            ((MerchantAPICallPreHandler) apiCallPreHandler).SDKVersion = SDKVersion;
            ((MerchantAPICallPreHandler) apiCallPreHandler).PortName = "PayPalAPI";

            XmlDocument xmlDocument = new XmlDocument();
            xmlDocument.LoadXml(Call(apiCallPreHandler));
            return new CompleteRecoupResponseType(
                xmlDocument.SelectSingleNode("*[local-name()='Envelope']/*[local-name()='Body']/*[local-name()='CompleteRecoupResponse']")
            );
        }
 /// <summary> 
 /// 
 /// </summary>
 ///<param name="completeRecoupReq"></param>
 public CompleteRecoupResponseType CompleteRecoup(CompleteRecoupReq completeRecoupReq)
 {
     return CompleteRecoup(completeRecoupReq,(string) null);
 }
 /**
   *AUTO_GENERATED
  	  */
 public CompleteRecoupResponseType CompleteRecoup(CompleteRecoupReq completeRecoupReq, string apiUserName)
 {
     IAPICallPreHandler apiCallPreHandler = null;
      		string portName = "PayPalAPI";
     setStandardParams(completeRecoupReq.CompleteRecoupRequest);
     DefaultSOAPAPICallHandler defaultHandler = new DefaultSOAPAPICallHandler(completeRecoupReq.ToXMLString(null, "CompleteRecoupReq"), null, null);
     apiCallPreHandler = new MerchantAPICallPreHandler(defaultHandler, apiUserName, getAccessToken(), getAccessTokenSecret());
     ((MerchantAPICallPreHandler) apiCallPreHandler).SDKName = SDKName;
     ((MerchantAPICallPreHandler) apiCallPreHandler).SDKVersion = SDKVersion;
     ((MerchantAPICallPreHandler) apiCallPreHandler).PortName = portName;
     string response = Call(apiCallPreHandler);
     XmlDocument xmlDocument = new XmlDocument();
     xmlDocument.LoadXml(response);
     XmlNode xmlNode = xmlDocument.SelectSingleNode("*[local-name()='Envelope']/*[local-name()='Body']/*[local-name()='CompleteRecoupResponse']");
     return new CompleteRecoupResponseType(xmlNode);
 }
 /**
   *AUTO_GENERATED
  	  */
 public CompleteRecoupResponseType CompleteRecoup(CompleteRecoupReq completeRecoupReq, string apiUserName)
 {
     setStandardParams(completeRecoupReq.CompleteRecoupRequest);
     string response = Call("CompleteRecoup", completeRecoupReq.ToXMLString(), apiUserName);
     XmlDocument xmlDocument = new XmlDocument();
     xmlDocument.LoadXml(response);
     XmlNode xmlNode = xmlDocument.SelectSingleNode("*[local-name()='Envelope']/*[local-name()='Body']/*[local-name()='CompleteRecoupResponse']");
     return new CompleteRecoupResponseType(xmlNode);
 }
 public CompleteRecoupResponseType CompleteRecoup(CompleteRecoupReq CompleteRecoupReq)
 {
     return CompleteRecoup(CompleteRecoupReq, null);
 }
        /**
         *
         */
        public CompleteRecoupResponseType CompleteRecoup(CompleteRecoupReq CompleteRecoupReq, string apiUsername)
        {
            setStandardParams(CompleteRecoupReq.CompleteRecoupRequest);
            string resp = call("CompleteRecoup", CompleteRecoupReq.toXMLString(), apiUsername);

            return new CompleteRecoupResponseType(resp);
        }