private function _accountPv()
 {
     $req = new SaleAccountPvRequest();
     $req->setCustomerId($this->customerId);
     $req->setSaleOrderId($this->orderId);
     $resp = $this->_callSale->accountPv($req);
     $this->operationId = $resp->getOperationId();
     $this->assertTrue($resp->isSucceed());
     $this->_logger->debug("PV for order #{$this->orderId} is accounted as for paid sale order as operation #{$this->operationId}.");
 }
 /**
  * Register PV transaction for sale order.
  */
 private function _createPvTransaction($custId, $orderId, $dateApplied)
 {
     $req = new PvSaleAccountPvRequest();
     $req->setCustomerId($custId);
     $req->setSaleOrderId($orderId);
     $req->setDateApplied($dateApplied);
     $resp = $this->_callPvSale->accountPv($req);
     if ($resp->isSucceed()) {
         $this->_logger->debug("New PV transaction is registered for order #{$orderId} and customer #{$custId} .");
     }
 }