1 <?php
2 /**
3 * @author Krzysztof Gzocha <krzysztof.gzocha@xsolve.pl>
4 */
5 namespace Team3\PayU\SignatureCalculator\ParametersSorter;
6
7 use Team3\PayU\Order\Model\OrderInterface;
8
9 /**
10 * Is responsible to transform {@link OrderInterface}
11 * into array of parameters in alphabetical order.
12 *
13 * Interface ParametersSorterInterface
14 * @package Team3\PayU\SignatureCalculator\ParametersSorter
15 */
16 interface ParametersSorterInterface
17 {
18 /**
19 * @param OrderInterface $order
20 *
21 * @return array
22 */
23 public function getSortedParameters(OrderInterface $order);
24 }
25