commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
QuoteRequest
QuoteRequestDraft.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Models\QuoteRequest
;
10
11
use
Commercetools\Api\Models\Cart\CartResourceIdentifier
;
12
use
Commercetools\Api\Models\State\StateReference
;
13
use
Commercetools\Api\Models\Type\CustomFieldsDraft
;
14
use
Commercetools\Base\DateTimeImmutableCollection
;
15
use
Commercetools\Base\JsonObject
;
16
17
interface
QuoteRequestDraft
extends
JsonObject
18
{
19
public
const
FIELD_CART
=
'cart'
;
20
public
const
FIELD_CART_VERSION
=
'cartVersion'
;
21
public
const
FIELD_KEY
=
'key'
;
22
public
const
FIELD_COMMENT
=
'comment'
;
23
public
const
FIELD_CUSTOM
=
'custom'
;
24
public
const
FIELD_STATE
=
'state'
;
25
public
const
FIELD_PURCHASE_ORDER_NUMBER
=
'purchaseOrderNumber'
;
26
35
public
function
getCart
();
36
43
public
function
getCartVersion
();
44
51
public
function
getKey
();
52
59
public
function
getComment
();
60
67
public
function
getCustom
();
68
76
public
function
getState
();
77
85
public
function
getPurchaseOrderNumber
();
86
90
public
function
setCart
(?
CartResourceIdentifier
$cart): void;
91
95
public
function
setCartVersion
(?
int
$cartVersion): void;
96
100
public
function
setKey
(?
string
$key): void;
101
105
public
function
setComment
(?
string
$comment): void;
106
110
public
function
setCustom
(?
CustomFieldsDraft
$custom): void;
111
115
public
function
setState
(?
StateReference
$state): void;
116
120
public
function
setPurchaseOrderNumber
(?
string
$purchaseOrderNumber): void;
121
}
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\Cart\CartResourceIdentifier
Definition:
CartResourceIdentifier.php:16
Commercetools\Api\Models\QuoteRequest\QuoteRequestDraft
Definition:
QuoteRequestDraft.php:18
Commercetools\Api\Models\QuoteRequest\QuoteRequestDraft\setKey
setKey(?string $key)
Commercetools\Api\Models\QuoteRequest\QuoteRequestDraft\setComment
setComment(?string $comment)
Commercetools\Api\Models\QuoteRequest\QuoteRequestDraft\FIELD_STATE
const FIELD_STATE
Definition:
QuoteRequestDraft.php:24
Commercetools\Api\Models\QuoteRequest\QuoteRequestDraft\FIELD_COMMENT
const FIELD_COMMENT
Definition:
QuoteRequestDraft.php:22
Commercetools\Api\Models\QuoteRequest\QuoteRequestDraft\getComment
getComment()
Commercetools\Api\Models\QuoteRequest\QuoteRequestDraft\FIELD_CART
const FIELD_CART
Definition:
QuoteRequestDraft.php:19
Commercetools\Api\Models\QuoteRequest\QuoteRequestDraft\setState
setState(?StateReference $state)
Commercetools\Api\Models\QuoteRequest\QuoteRequestDraft\FIELD_CART_VERSION
const FIELD_CART_VERSION
Definition:
QuoteRequestDraft.php:20
Commercetools\Api\Models\QuoteRequest\QuoteRequestDraft\getCustom
getCustom()
Commercetools\Api\Models\QuoteRequest\QuoteRequestDraft\setCartVersion
setCartVersion(?int $cartVersion)
Commercetools\Api\Models\QuoteRequest\QuoteRequestDraft\setCart
setCart(?CartResourceIdentifier $cart)
Commercetools\Api\Models\QuoteRequest\QuoteRequestDraft\getCartVersion
getCartVersion()
Commercetools\Api\Models\QuoteRequest\QuoteRequestDraft\getKey
getKey()
Commercetools\Api\Models\QuoteRequest\QuoteRequestDraft\setCustom
setCustom(?CustomFieldsDraft $custom)
Commercetools\Api\Models\QuoteRequest\QuoteRequestDraft\FIELD_KEY
const FIELD_KEY
Definition:
QuoteRequestDraft.php:21
Commercetools\Api\Models\QuoteRequest\QuoteRequestDraft\getCart
getCart()
Commercetools\Api\Models\QuoteRequest\QuoteRequestDraft\getPurchaseOrderNumber
getPurchaseOrderNumber()
Commercetools\Api\Models\QuoteRequest\QuoteRequestDraft\getState
getState()
Commercetools\Api\Models\QuoteRequest\QuoteRequestDraft\FIELD_PURCHASE_ORDER_NUMBER
const FIELD_PURCHASE_ORDER_NUMBER
Definition:
QuoteRequestDraft.php:25
Commercetools\Api\Models\QuoteRequest\QuoteRequestDraft\FIELD_CUSTOM
const FIELD_CUSTOM
Definition:
QuoteRequestDraft.php:23
Commercetools\Api\Models\QuoteRequest\QuoteRequestDraft\setPurchaseOrderNumber
setPurchaseOrderNumber(?string $purchaseOrderNumber)
Commercetools\Api\Models\State\StateReference
Definition:
StateReference.php:16
Commercetools\Api\Models\Type\CustomFieldsDraft
Definition:
CustomFieldsDraft.php:15
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Api\Models\QuoteRequest
Definition:
QuoteRequest.php:9
Generated by
1.9.1