app/models/extface/driver/datecs/fp550.rb in extface-0.4.6g vs app/models/extface/driver/datecs/fp550.rb in extface-0.4.6h
- old
+ new
@@ -15,9 +15,17 @@
5 => "\xc4",
6 => "\xc5",
7 => "\xc6",
8 => "\xc7"
}
+
+ PAYMENT_TYPE_MAP = {
+ 1 => "P",
+ 2 => "N",
+ 3 => "C",
+ 4 => "D",
+ 5 => "B"
+ }
include Extface::Driver::Datecs::CommandsV1
def handle(buffer)
#if i = buffer.index(/[\x03\x16\x15]/) # find position of frame possible delimiter
\ No newline at end of file