Total Complexity | 2 |
Total Lines | 19 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
18 | class CartSetShippingAddressCustomFieldAction extends SetCustomFieldAction |
||
19 | { |
||
20 | public function fieldDefinitions() |
||
21 | { |
||
22 | return [ |
||
23 | 'action' => [static::TYPE => 'string'], |
||
24 | 'name' => [static::TYPE => 'string'], |
||
25 | 'value' => [static::TYPE => null], |
||
26 | ]; |
||
27 | } |
||
28 | |||
29 | /** |
||
30 | * @param array $data |
||
31 | * @param Context|callable $context |
||
32 | */ |
||
33 | public function __construct(array $data = [], $context = null) |
||
37 | } |
||
38 | } |
||
39 |