ToNVPString() public method

public ToNVPString ( string prefix ) : string
prefix string
return string
コード例 #1
0
ファイル: InvoiceService.cs プロジェクト: tgtamil/SDKs
 /**
   *AUTO_GENERATED
  	  */
 public MarkInvoiceAsPaidResponse MarkInvoiceAsPaid(MarkInvoiceAsPaidRequest markInvoiceAsPaidRequest, string apiUserName)
 {
     string response = Call("MarkInvoiceAsPaid", markInvoiceAsPaidRequest.ToNVPString(""), apiUserName);
     NVPUtil util = new NVPUtil();
     return MarkInvoiceAsPaidResponse.CreateInstance(util.ParseNVPString(response), "", -1);
 }
コード例 #2
0
        /// <summary>
        /// 
        /// </summary>
        ///<param name="markInvoiceAsPaidRequest"></param>
        ///<param name="credential">An explicit ICredential object that you want to authenticate this call against</param> 
        public MarkInvoiceAsPaidResponse MarkInvoiceAsPaid(MarkInvoiceAsPaidRequest markInvoiceAsPaidRequest, ICredential credential)
        {
            IAPICallPreHandler apiCallPreHandler = new PlatformAPICallPreHandler(this.config, markInvoiceAsPaidRequest.ToNVPString(string.Empty), ServiceName, "MarkInvoiceAsPaid", credential);
               	 	((PlatformAPICallPreHandler) apiCallPreHandler).SDKName = SDKName;
            ((PlatformAPICallPreHandler) apiCallPreHandler).SDKVersion = SDKVersion;
            ((PlatformAPICallPreHandler) apiCallPreHandler).PortName = "Invoice";

            NVPUtil util = new NVPUtil();
            return MarkInvoiceAsPaidResponse.CreateInstance(util.ParseNVPString(Call(apiCallPreHandler)), string.Empty, -1);
        }
コード例 #3
0
 /**
   *AUTO_GENERATED
  	  */
 public MarkInvoiceAsPaidResponse MarkInvoiceAsPaid(MarkInvoiceAsPaidRequest markInvoiceAsPaidRequest, string apiUserName)
 {
     IAPICallPreHandler apiCallPreHandler = null;
     apiCallPreHandler = new PlatformAPICallPreHandler(markInvoiceAsPaidRequest.ToNVPString(string.Empty), ServiceName, "MarkInvoiceAsPaid", apiUserName, getAccessToken(), getAccessTokenSecret());
        	 	((PlatformAPICallPreHandler) apiCallPreHandler).SDKName = SDKName;
     ((PlatformAPICallPreHandler) apiCallPreHandler).SDKVersion = SDKVersion;
     string response = Call(apiCallPreHandler);
     NVPUtil util = new NVPUtil();
     return MarkInvoiceAsPaidResponse.CreateInstance(util.ParseNVPString(response), string.Empty, -1);
 }