code: def _add_batch(self, TX_nodes, payment):
          
          TX_nodes['PmtIdNode'].append(TX_nodes['EndToEnd_PmtId_Node'])
          TX_nodes['AmtNode'].append(TX_nodes['InstdAmtNode'])
          TX_nodes['CdtTrfTxInfNode'].append(TX_nodes['PmtIdNode'])
          TX_nodes['CdtTrfTxInfNode'].append(TX_nodes['AmtNode'])
  
          if TX_nodes['BIC_CdtrAgt_Node'].text is not None:
              TX_nodes['FinInstnId_CdtrAgt_Node'].append(
                  TX_nodes['BIC_CdtrAgt_Node'])
          TX_nodes['CdtrAgtNode'].append(TX_nodes['FinInstnId_CdtrAgt_Node'])
          TX_nodes['CdtTrfTxInfNode'].append(TX_nodes['CdtrAgtNode'])
  
          TX_nodes['CdtrNode'].append(TX_nodes['Nm_Cdtr_Node'])
          TX_nodes['CdtTrfTxInfNode'].append(TX_nodes['CdtrNode'])
  
          TX_nodes['Id_CdtrAcct_Node'].append(TX_nodes['IBAN_CdtrAcct_Node'])
          TX_nodes['CdtrAcctNode'].append(TX_nodes['Id_CdtrAcct_Node'])
          TX_nodes['CdtTrfTxInfNode'].append(TX_nodes['CdtrAcctNode'])
  
          TX_nodes['RmtInfNode'].append(TX_nodes['UstrdNode'])
          TX_nodes['CdtTrfTxInfNode'].append(TX_nodes['RmtInfNode'])
          self._add_to_batch_list(TX_nodes, payment)
docs: Method to add a payment as a batch. The transaction details are already
          present. Will fold the nodes accordingly and the call the
          _add_to_batch_list function to store the batch.