commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
Cart
CartUpdate.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Models\Cart
;
10
11
use
Commercetools\Base\DateTimeImmutableCollection
;
12
use
Commercetools\Base\JsonObject
;
13
14
interface
CartUpdate
extends
JsonObject
15
{
16
public
const
FIELD_VERSION
=
'version'
;
17
public
const
FIELD_ACTIONS
=
'actions'
;
18
26
public
function
getVersion
();
27
34
public
function
getActions
();
35
39
public
function
setVersion
(?
int
$version): void;
40
44
public
function
setActions
(?
CartUpdateActionCollection
$actions): void;
45
}
Commercetools\Api\Models\Cart\CartUpdateActionCollection
Definition:
CartUpdateActionCollection.php:26
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\Cart\CartUpdate
Definition:
CartUpdate.php:15
Commercetools\Api\Models\Cart\CartUpdate\getVersion
getVersion()
Commercetools\Api\Models\Cart\CartUpdate\setActions
setActions(?CartUpdateActionCollection $actions)
Commercetools\Api\Models\Cart\CartUpdate\FIELD_VERSION
const FIELD_VERSION
Definition:
CartUpdate.php:16
Commercetools\Api\Models\Cart\CartUpdate\FIELD_ACTIONS
const FIELD_ACTIONS
Definition:
CartUpdate.php:17
Commercetools\Api\Models\Cart\CartUpdate\setVersion
setVersion(?int $version)
Commercetools\Api\Models\Cart\CartUpdate\getActions
getActions()
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Api\Models\Cart
Definition:
Cart.php:9
Generated by
1.9.1