17 private $subjectReader;
26 $this->subjectReader = $subjectReader;
38 $paymentDO = $this->subjectReader->readPayment($handlingSubject);
40 if ($paymentDO->getPayment() instanceof
Payment) {
45 $orderPayment = $paymentDO->getPayment();
53 $orderPayment->setShouldCloseParentTransaction($closed);
handle(array $handlingSubject, array $response)
__construct(SubjectReader $subjectReader)
shouldCloseParentTransaction(Payment $orderPayment)
setTransactionId($transactionId)
setTransactionId(Payment $orderPayment, \Braintree\Transaction $transaction)