Example #1
0
        /// <summary>
        ///
        /// </summary>
        ///<param name="remindInvoiceRequest"></param>
        ///<param name="credential">An explicit ICredential object that you want to authenticate this call against</param>
        public RemindInvoiceResponse RemindInvoice(RemindInvoiceRequest remindInvoiceRequest, ICredential credential)
        {
            IAPICallPreHandler apiCallPreHandler = new PlatformAPICallPreHandler(this.config, remindInvoiceRequest.ToNVPString(string.Empty), ServiceName, "RemindInvoice", credential);

            ((PlatformAPICallPreHandler)apiCallPreHandler).SDKName    = SDKName;
            ((PlatformAPICallPreHandler)apiCallPreHandler).SDKVersion = SDKVersion;
            ((PlatformAPICallPreHandler)apiCallPreHandler).PortName   = "Invoice";

            NVPUtil util = new NVPUtil();

            return(RemindInvoiceResponse.CreateInstance(util.ParseNVPString(Call(apiCallPreHandler)), string.Empty, -1));
        }
Example #2
0
        /// <summary>
        ///
        /// </summary>
        ///<param name="remindInvoiceRequest"></param>

        public RemindInvoiceResponse RemindInvoice(RemindInvoiceRequest remindInvoiceRequest)
        {
            return(RemindInvoice(remindInvoiceRequest, (string)null));
        }