1 <?php
2 /**
3 * @author Krzysztof Gzocha <krzysztof.gzocha@xsolve.pl>
4 */
5 namespace Team3\PayU\Order\Transformer\UserOrder\Strategy;
6
7 use Team3\PayU\Order\Model\OrderInterface;
8 use Team3\PayU\PropertyExtractor\ExtractorResult;
9
10 interface UserOrderTransformerStrategyInterface
11 {
12 /**
13 * @param OrderInterface $order
14 * @param ExtractorResult $extractorResult
15 *
16 * @return OrderInterface
17 */
18 public function transform(
19 OrderInterface $order,
20 ExtractorResult $extractorResult
21 );
22
23 /**
24 * @param string $propertyName
25 *
26 * @return bool
27 */
28 public function supports($propertyName);
29 }
30