| Total Complexity | 2 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 20 | class MeCartUpdateRequest extends AbstractUpdateRequest |
||
| 21 | { |
||
| 22 | protected $resultClass = Cart::class; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @param string $id |
||
| 26 | * @param string $version |
||
| 27 | * @param array $actions |
||
| 28 | * @param Context $context |
||
| 29 | */ |
||
| 30 | public function __construct($id, $version, array $actions = [], Context $context = null) |
||
| 31 | { |
||
| 32 | parent::__construct(MeCartsEndpoint::endpoint(), $id, $version, $actions, $context); |
||
|
|
|||
| 33 | } |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @param string $id |
||
| 37 | * @param int $version |
||
| 38 | * @param Context $context |
||
| 39 | * @return static |
||
| 40 | */ |
||
| 41 | public static function ofIdAndVersion($id, $version, Context $context = null) |
||
| 44 | } |
||
| 45 | } |
||
| 46 |