for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types = 1);
namespace Korobovn\CloudPayments\Message\Strategy\Specification;
/**
* @see https://developers.cloudpayments.ru/#oplata-po-kriptogramme
*/
class TransactionRejectedSpecification implements SpecificationInterface
{
* {@inheritdoc}
public function isSatisfiedBy(array $response): bool
return ! empty($response['Model']['ReasonCode']) &&
(new NotSuccessSpecification)->isSatisfiedBy($response);
}