Ejemplo n.º 1
0
 /**
  * @param \Generated\Shared\Transfer\PayolutionCalculationResponseTransfer $responseTransfer
  * @param string $hash
  *
  * @return \Generated\Shared\Transfer\PayolutionCalculationResponseTransfer
  */
 protected function setHash(PayolutionCalculationResponseTransfer $responseTransfer, $hash)
 {
     return $responseTransfer->setTotalsAmountHash($hash);
 }
 /**
  * @param \Generated\Shared\Transfer\QuoteTransfer $quoteTransfer
  * @param \Generated\Shared\Transfer\PayolutionCalculationResponseTransfer $calculationResponseTransfer
  *
  * @return bool
  */
 protected function isInstallmentPaymentsStillValid(QuoteTransfer $quoteTransfer, PayolutionCalculationResponseTransfer $calculationResponseTransfer)
 {
     if ($quoteTransfer->getTotals() === null) {
         return false;
     }
     return $quoteTransfer->getTotals()->getHash() === $calculationResponseTransfer->getTotalsAmountHash();
 }