def __init__(self,
                 record_type='',
                 transaction_sequence_n=0,
                 record_sequence_n=0
                 ):
        """
        Constructs a record with the specified information.

        Note that the sequence numbering differs if this is the header for a
        Transaction or a detail record.

        In the first case, the record sequence is always zero. In the second,
        the Transaction sequence is equal to its parent Transaction sequence
        number.

        In both cases the sequence number should be equal or great than zero.

        :param record_type: type of record
        :param transaction_sequence_n: position in the transactions sequence
        :param record_sequence_n: position in the records sequence
        """
        super(TransactionRecord, self).__init__(
            record_type
        )
        self._transaction_sequence_n = transaction_sequence_n
        self._record_sequence_n = record_sequence_n
def __init__ ( self , record_type = '' , transaction_sequence_n = 0 , record_sequence_n = 0 ) : super ( TransactionRecord , self ) . __init__ ( record_type ) self . _transaction_sequence_n = transaction_sequence_n self . _record_sequence_n = record_sequence_n
Constructs a record with the specified information.

        Note that the sequence numbering differs if this is the header for a
        Transaction or a detail record.

        In the first case, the record sequence is always zero. In the second,
        the Transaction sequence is equal to its parent Transaction sequence
        number.

        In both cases the sequence number should be equal or great than zero.

        :param record_type: type of record
        :param transaction_sequence_n: position in the transactions sequence
        :param record_sequence_n: position in the records sequence