/**
  * The Payment Details Table Row Content record
  * @param BeneficiaryAdapterInterface
  * @param String The key to read the config from
  * @return Line a line
  */
 public static function createPaymentDetailsTableRowContentRecordLine(BeneficiaryAdapterInterface $beneficiary, $config_key)
 {
     $line = new Line($config_key);
     $columns = ['record_type' => PresetStringColumnFactory::create('COS-TBL', $label = 'record_type'), 'instruction_indicator' => PresetStringColumnFactory::create('I', $label = 'instruction_indicator'), 'table_name_id' => ConfigurableStringColumnFactory::create($config = $line->config, 'table_name_id', $label = 'table_name_id'), 'table_col_1' => VariableLengthStringColumnFactory::create($beneficiary->getUserId(), $max_length = 90, $label = 'table_col_1'), 'table_col_2' => VariableLengthStringColumnFactory::create($beneficiary->getPaymentId(), $max_length = 90, $label = 'table_col_2'), 'table_col_3' => VariableLengthStringColumnFactory::create($beneficiary->getPaymentDateTimeFormatted(), $max_length = 90, $label = 'table_col_3'), 'table_col_4' => VariableLengthStringColumnFactory::create($beneficiary->getEmail(), $max_length = 90, $label = 'table_col_4'), 'table_col_5' => VariableLengthStringColumnFactory::create("1", $max_length = 90, $label = 'table_col_5'), 'table_col_6' => VariableLengthStringColumnFactory::create($beneficiary->getFullname(), $max_length = 90, $label = 'table_col_6')];
     $line->setColumns($columns);
     return $line;
 }