//TODO: map response codes to something meaningful /// public async Task CardRead(string paymentAmount, string promptText, string availableReaders, List<TCCustAttributeItem> attributes, EntryModeType entryModeType, int attemptedReads, CreditCard cc) public async Task CardRead(string paymentAmount, string promptText) { /// if (Transaction.PaymentXO.Request.CreditCard == null) /// Transaction.PaymentXO.Request.CreditCard = new CreditCard(); //Clear the IDTech Buffers before we take a card read of any type if (Manufacturer == DeviceManufacturer.IDTech) { ClearBuffer(); } /// await deviceInterface?.CardRead(paymentAmount, promptText, availableReaders, attributes, entryModeType); await deviceInterface?.CardRead(paymentAmount, promptText); return; }