<commit_before><?php

namespace TransactPRO\Gate\Builders;

class CancelDmsDataBuilderr extends Builder
{
    public function build()
    {
        $result = array(
            'init_transaction_id' => $this->getField('init_transaction_id'),
        );

        if (isset($this->data['merchant_transaction_id'])) $result['merchant_transaction_id'] = $this->getField('merchant_transaction_id');
        if (isset($this->data['details'])) $result['details'] = $this->getField('details');

        return $result;
    }

    protected function checkData()
    {
        $this->checkMandatoryField('init_transaction_id');
    }
}<commit_msg>CancelDmsDataBuilder extends RefundDataBuilder<commit_after><?php

namespace TransactPRO\Gate\Builders;

class CancelDmsDataBuilder extends RefundDataBuilder
{
}
{'fraction_non_alphanumeric': 0.13157894736842105, 'fraction_numerical': 0.0, 'mean_word_length': 4.326666666666667, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 10, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6716063', 'n_tokens_mistral': 236, 'n_tokens_neox': 233, 'n_words': 37}