public function addTransactionType($name, $parameters = [])
    {
        $this->verifyTransactionType($name, $parameters);

        $structure = [
            'transaction_type' => [
                '@attributes' => [
                    'name' => $name
                ],
                $parameters
            ]
        ];

        array_push($this->transaction_types, $structure);

        return $this;
    }