Example #1
0
        public static int ExchangePaper(string serial, int damagedAudit, int replacementAudit, int receiptId)
        {
            var msg = new ExchangePaperMessage(serial, damagedAudit, replacementAudit, receiptId);

            try
            {
                msg.Send();
            }
            catch (Exception)
            {
            }
            return(msg.ReturnCode);
        }
Example #2
0
        public static int ExchangePaper(PaperExchangeItem item, int replacementAudit)
        {
            var msg = new ExchangePaperMessage(item.Serial, item.Audit, replacementAudit, item.ReceiptID);

            try
            {
                msg.Send();
            }
            catch (Exception)
            {
            }
            return(msg.ReturnCode);
        }