commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-history
src
Models
Common
Reservation.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\History\Models\Common
;
10
11
use
Commercetools\Base\JsonObject
;
12
use
Commercetools\Base\DateTimeImmutableCollection
;
13
14
interface
Reservation
extends
JsonObject
15
{
16
17
public
const
FIELD_QUANTITY
=
'quantity'
;
18
public
const
FIELD_OWNER
=
'owner'
;
19
public
const
FIELD_CREATED_AT
=
'createdAt'
;
20
public
const
FIELD_CHECKOUT_STARTED_AT
=
'checkoutStartedAt'
;
21
26
public
function
getQuantity
();
27
32
public
function
getOwner
();
33
38
public
function
getCreatedAt
();
39
44
public
function
getCheckoutStartedAt
();
45
49
public
function
setQuantity
(?
int
$quantity): void;
50
54
public
function
setOwner
(?
Reference
$owner): void;
55
59
public
function
setCreatedAt
(?
string
$createdAt): void;
60
64
public
function
setCheckoutStartedAt
(?
string
$checkoutStartedAt): void;
65
}
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\History\Models\Common\Reference
Definition:
Reference.php:15
Commercetools\History\Models\Common\Reservation
Definition:
Reservation.php:15
Commercetools\History\Models\Common\Reservation\FIELD_OWNER
const FIELD_OWNER
Definition:
Reservation.php:18
Commercetools\History\Models\Common\Reservation\setQuantity
setQuantity(?int $quantity)
Commercetools\History\Models\Common\Reservation\setCreatedAt
setCreatedAt(?string $createdAt)
Commercetools\History\Models\Common\Reservation\setCheckoutStartedAt
setCheckoutStartedAt(?string $checkoutStartedAt)
Commercetools\History\Models\Common\Reservation\setOwner
setOwner(?Reference $owner)
Commercetools\History\Models\Common\Reservation\FIELD_CREATED_AT
const FIELD_CREATED_AT
Definition:
Reservation.php:19
Commercetools\History\Models\Common\Reservation\FIELD_CHECKOUT_STARTED_AT
const FIELD_CHECKOUT_STARTED_AT
Definition:
Reservation.php:20
Commercetools\History\Models\Common\Reservation\getCreatedAt
getCreatedAt()
Commercetools\History\Models\Common\Reservation\FIELD_QUANTITY
const FIELD_QUANTITY
Definition:
Reservation.php:17
Commercetools\History\Models\Common\Reservation\getCheckoutStartedAt
getCheckoutStartedAt()
Commercetools\History\Models\Common\Reservation\getOwner
getOwner()
Commercetools\History\Models\Common\Reservation\getQuantity
getQuantity()
Commercetools\History\Models\Common
Definition:
Address.php:9
Generated by
1.9.1