hipay/hipay-wallet-cashout-mirakl-library

View on GitHub
src/Cashout/Model/Transaction/ValidatorInterface.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace HiPay\Wallet\Mirakl\Cashout\Model\Transaction;

/**
 * Used to validated transaction like orders.
 *
 * @author    Ivanis Kouamé <ivanis.kouame@smile.fr>
 * @copyright 2015 Smile
 */
interface ValidatorInterface
{
    /**
     * Validate a transaction.
     *
     * @param array $transaction
     *
     * @return bool
     */
    public function isValid(array $transaction);
}