/// <summary>
		/// 
	 	/// </summary>
		///<param name="convertCurrencyRequest"></param>
		///<param name="credential">An explicit ICredential object that you want to authenticate this call against</param> 
	 	public ConvertCurrencyResponse ConvertCurrency(ConvertCurrencyRequest convertCurrencyRequest, ICredential credential)
	 	{	 			 		
			IAPICallPreHandler apiCallPreHandler = new PlatformAPICallPreHandler(this.config, convertCurrencyRequest.ToNVPString(string.Empty), ServiceName, "ConvertCurrency", credential);
	   	 	((PlatformAPICallPreHandler) apiCallPreHandler).SDKName = SDKName;
			((PlatformAPICallPreHandler) apiCallPreHandler).SDKVersion = SDKVersion;
			((PlatformAPICallPreHandler) apiCallPreHandler).PortName = "AdaptivePayments";

			NVPUtil util = new NVPUtil();
			return ConvertCurrencyResponse.CreateInstance(util.ParseNVPString(Call(apiCallPreHandler)), string.Empty, -1);
			
	 	}
示例#2
0
 /**
   *AUTO_GENERATED
  	  */
 public ConvertCurrencyResponse ConvertCurrency(ConvertCurrencyRequest convertCurrencyRequest, string apiUserName)
 {
     string response = Call("ConvertCurrency", convertCurrencyRequest.ToNVPString(""), apiUserName);
     NVPUtil util = new NVPUtil();
     return ConvertCurrencyResponse.CreateInstance(util.ParseNVPString(response), "", -1);
 }