commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
Cart
ReplicaCartDraft.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Models\Cart
;
10
11
use
Commercetools\Api\Models\Order\OrderReference
;
12
use
Commercetools\Base\DateTimeImmutableCollection
;
13
use
Commercetools\Base\JsonObject
;
14
15
interface
ReplicaCartDraft
extends
JsonObject
16
{
17
public
const
FIELD_REFERENCE
=
'reference'
;
18
public
const
FIELD_KEY
=
'key'
;
19
26
public
function
getReference
();
27
34
public
function
getKey
();
35
39
public
function
setReference
(?
JsonObject
$reference): void;
40
44
public
function
setKey
(?
string
$key): void;
45
}
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\Cart\ReplicaCartDraft
Definition:
ReplicaCartDraft.php:16
Commercetools\Api\Models\Cart\ReplicaCartDraft\getKey
getKey()
Commercetools\Api\Models\Cart\ReplicaCartDraft\getReference
getReference()
Commercetools\Api\Models\Cart\ReplicaCartDraft\setKey
setKey(?string $key)
Commercetools\Api\Models\Cart\ReplicaCartDraft\FIELD_REFERENCE
const FIELD_REFERENCE
Definition:
ReplicaCartDraft.php:17
Commercetools\Api\Models\Cart\ReplicaCartDraft\FIELD_KEY
const FIELD_KEY
Definition:
ReplicaCartDraft.php:18
Commercetools\Api\Models\Cart\ReplicaCartDraft\setReference
setReference(?JsonObject $reference)
Commercetools\Api\Models\Order\OrderReference
Definition:
OrderReference.php:16
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Api\Models\Cart
Definition:
Cart.php:9
Generated by
1.9.1