better check interface then type of submitted button

in example is checking of type of button submited, but you extended from
Nette\Forms and you need getChanell function , so it should be better to
implement interface

public function gopayButtonsSubmittedForm(\Markette\Gopay\IPaymentButton
$button)
{
$channel = $button->getChannel();

}