/** * Constructor. * * @param string $systemId * @param string $systemGuid * @param float $passcode * @param string $processingDb * @param TransactionRejectionRequestMessage $transactionRejectionRequestMessage */ public function __construct($systemId, $systemGuid, $passcode, $processingDb, TransactionRejectionRequestMessage $transactionRejectionRequestMessage) { parent::__construct($systemId, $systemGuid, $passcode); $this->setProcessingDb($processingDb); $this->transactionRejectionRequestMessage = $transactionRejectionRequestMessage; }
/** * Constructor. * * @param string $systemId * @param string $systemGuid * @param float $passcode * @param TransactionRequestMessageInterface $transaction */ public function __construct($systemId, $systemGuid, $passcode, TransactionRequestMessageInterface $transaction) { parent::__construct($systemId, $systemGuid, $passcode); $this->transaction = $transaction; }