Total Complexity | 4 |
Total Lines | 48 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
19 | class GetpayFetchTransactionInfoRequest implements BuilderInterface |
||
20 | { |
||
21 | /** |
||
22 | * @var string |
||
23 | */ |
||
24 | public const GETNET_ORDER_ID = 'order_id'; |
||
25 | |||
26 | /** |
||
27 | * Order State - Block Name. |
||
28 | */ |
||
29 | public const ORDER_STATE = 'state'; |
||
30 | |||
31 | /** |
||
32 | * @var ConfigInterface |
||
33 | */ |
||
34 | private $config; |
||
35 | |||
36 | /** |
||
37 | * @param ConfigInterface $config |
||
38 | */ |
||
39 | public function __construct( |
||
40 | ConfigInterface $config |
||
41 | ) { |
||
42 | $this->config = $config; |
||
43 | } |
||
44 | |||
45 | /** |
||
46 | * Build. |
||
47 | * |
||
48 | * @param array $buildSubject |
||
49 | */ |
||
50 | public function build(array $buildSubject) |
||
67 | ]; |
||
68 | } |
||
70 |