def __init__(self): ISO8583.__init__(self, iso="", debug=False) #obj.redefineBit(self, bit, smallStr, largeStr, bitType, size, valueType) ISO8583.redefineBit(self, 7, '7', 'Timestamp', 'N', 14, 'n') ISO8583.redefineBit(self, 11, '11', 'TransactionID', 'N', 15, 'an') ISO8583.redefineBit(self, 63, '63', 'PartnerID', 'LL', 99, 'an') #self.redefineBit(64, '64', 'Signature', 'LLL', 999, 'an') ISO8583._BITS_VALUE_TYPE[64] = ['64', 'Signature', 'LLL', 999, 'anb']
def __init__(self, from_iso=None, debug=False): ISO8583.__init__(self, debug=debug) self.from_iso = from_iso if from_iso: self.from_data = self.get_values()
def __init__(self, from_iso=None, debug=False): ISO8583.__init__(self, debug=debug) self.from_iso = from_iso if from_iso: self.from_data = self.get_values()