コード例 #1
0
 /**
  * @param $transactionId
  * @param $subType
  * @param RequestType $req
  * @throws RatePAYException
  * @throws TechnicalErrorException
  * @throws WarningException
  * @throws RejectionException
  * @return ResponseType
  */
 public function confirmationDeliver($transactionId, RequestType $req)
 {
     $req->getHead()->setTransactionId($transactionId);
     $req->getHead()->getOperation()->setValue(OperationType::OPERATION_CONFIRMATION_DELIVER);
     $res = $this->gatewayClient->postRequest($req);
     $this->validateResponse($res, 404, 401, 150, 405);
     return $res;
 }
コード例 #2
0
 /**
  * @param ExternalType $external
  * @return $this
  */
 public function external(ExternalType $external)
 {
     $this->request->getHead()->setExternal($external);
     return $this;
 }