commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
Quote
QuoteDraft.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Models\Quote
;
10
11
use
Commercetools\Api\Models\StagedQuote\StagedQuoteResourceIdentifier
;
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
QuoteDraft
extends
JsonObject
18
{
19
public
const
FIELD_KEY
=
'key'
;
20
public
const
FIELD_STAGED_QUOTE
=
'stagedQuote'
;
21
public
const
FIELD_STAGED_QUOTE_VERSION
=
'stagedQuoteVersion'
;
22
public
const
FIELD_STAGED_QUOTE_STATE_TO_SENT
=
'stagedQuoteStateToSent'
;
23
public
const
FIELD_STATE
=
'state'
;
24
public
const
FIELD_CUSTOM
=
'custom'
;
25
32
public
function
getKey
();
33
40
public
function
getStagedQuote
();
41
48
public
function
getStagedQuoteVersion
();
49
56
public
function
getStagedQuoteStateToSent
();
57
65
public
function
getState
();
66
77
public
function
getCustom
();
78
82
public
function
setKey
(?
string
$key): void;
83
87
public
function
setStagedQuote
(?
StagedQuoteResourceIdentifier
$stagedQuote): void;
88
92
public
function
setStagedQuoteVersion
(?
int
$stagedQuoteVersion): void;
93
97
public
function
setStagedQuoteStateToSent
(?
bool
$stagedQuoteStateToSent): void;
98
102
public
function
setState
(?
StateReference
$state): void;
103
107
public
function
setCustom
(?
CustomFieldsDraft
$custom): void;
108
}
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\Quote\QuoteDraft
Definition:
QuoteDraft.php:18
Commercetools\Api\Models\Quote\QuoteDraft\FIELD_STAGED_QUOTE
const FIELD_STAGED_QUOTE
Definition:
QuoteDraft.php:20
Commercetools\Api\Models\Quote\QuoteDraft\FIELD_STATE
const FIELD_STATE
Definition:
QuoteDraft.php:23
Commercetools\Api\Models\Quote\QuoteDraft\getStagedQuoteStateToSent
getStagedQuoteStateToSent()
Commercetools\Api\Models\Quote\QuoteDraft\getState
getState()
Commercetools\Api\Models\Quote\QuoteDraft\setKey
setKey(?string $key)
Commercetools\Api\Models\Quote\QuoteDraft\getCustom
getCustom()
Commercetools\Api\Models\Quote\QuoteDraft\setCustom
setCustom(?CustomFieldsDraft $custom)
Commercetools\Api\Models\Quote\QuoteDraft\getStagedQuote
getStagedQuote()
Commercetools\Api\Models\Quote\QuoteDraft\getStagedQuoteVersion
getStagedQuoteVersion()
Commercetools\Api\Models\Quote\QuoteDraft\setStagedQuote
setStagedQuote(?StagedQuoteResourceIdentifier $stagedQuote)
Commercetools\Api\Models\Quote\QuoteDraft\FIELD_KEY
const FIELD_KEY
Definition:
QuoteDraft.php:19
Commercetools\Api\Models\Quote\QuoteDraft\setStagedQuoteStateToSent
setStagedQuoteStateToSent(?bool $stagedQuoteStateToSent)
Commercetools\Api\Models\Quote\QuoteDraft\getKey
getKey()
Commercetools\Api\Models\Quote\QuoteDraft\setStagedQuoteVersion
setStagedQuoteVersion(?int $stagedQuoteVersion)
Commercetools\Api\Models\Quote\QuoteDraft\FIELD_STAGED_QUOTE_STATE_TO_SENT
const FIELD_STAGED_QUOTE_STATE_TO_SENT
Definition:
QuoteDraft.php:22
Commercetools\Api\Models\Quote\QuoteDraft\FIELD_STAGED_QUOTE_VERSION
const FIELD_STAGED_QUOTE_VERSION
Definition:
QuoteDraft.php:21
Commercetools\Api\Models\Quote\QuoteDraft\setState
setState(?StateReference $state)
Commercetools\Api\Models\Quote\QuoteDraft\FIELD_CUSTOM
const FIELD_CUSTOM
Definition:
QuoteDraft.php:24
Commercetools\Api\Models\StagedQuote\StagedQuoteResourceIdentifier
Definition:
StagedQuoteResourceIdentifier.php:16
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\Quote
Definition:
Quote.php:9
Generated by
1.9.1