commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
Order
OrderFromQuoteDraft.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Models\Order
;
10
11
use
Commercetools\Api\Models\Quote\QuoteResourceIdentifier
;
12
use
Commercetools\Api\Models\State\StateResourceIdentifier
;
13
use
Commercetools\Base\DateTimeImmutableCollection
;
14
use
Commercetools\Base\JsonObject
;
15
16
interface
OrderFromQuoteDraft
extends
JsonObject
17
{
18
public
const
FIELD_QUOTE
=
'quote'
;
19
public
const
FIELD_VERSION
=
'version'
;
20
public
const
FIELD_QUOTE_STATE_TO_ACCEPTED
=
'quoteStateToAccepted'
;
21
public
const
FIELD_ORDER_NUMBER
=
'orderNumber'
;
22
public
const
FIELD_PAYMENT_STATE
=
'paymentState'
;
23
public
const
FIELD_SHIPMENT_STATE
=
'shipmentState'
;
24
public
const
FIELD_ORDER_STATE
=
'orderState'
;
25
public
const
FIELD_STATE
=
'state'
;
26
34
public
function
getQuote
();
35
42
public
function
getVersion
();
43
50
public
function
getQuoteStateToAccepted
();
51
59
public
function
getOrderNumber
();
60
67
public
function
getPaymentState
();
68
75
public
function
getShipmentState
();
76
83
public
function
getOrderState
();
84
91
public
function
getState
();
92
96
public
function
setQuote
(?
QuoteResourceIdentifier
$quote): void;
97
101
public
function
setVersion
(?
int
$version): void;
102
106
public
function
setQuoteStateToAccepted
(?
bool
$quoteStateToAccepted): void;
107
111
public
function
setOrderNumber
(?
string
$orderNumber): void;
112
116
public
function
setPaymentState
(?
string
$paymentState): void;
117
121
public
function
setShipmentState
(?
string
$shipmentState): void;
122
126
public
function
setOrderState
(?
string
$orderState): void;
127
131
public
function
setState
(?
StateResourceIdentifier
$state): void;
132
}
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\Order\OrderFromQuoteDraft
Definition:
OrderFromQuoteDraft.php:17
Commercetools\Api\Models\Order\OrderFromQuoteDraft\FIELD_QUOTE_STATE_TO_ACCEPTED
const FIELD_QUOTE_STATE_TO_ACCEPTED
Definition:
OrderFromQuoteDraft.php:20
Commercetools\Api\Models\Order\OrderFromQuoteDraft\FIELD_SHIPMENT_STATE
const FIELD_SHIPMENT_STATE
Definition:
OrderFromQuoteDraft.php:23
Commercetools\Api\Models\Order\OrderFromQuoteDraft\setState
setState(?StateResourceIdentifier $state)
Commercetools\Api\Models\Order\OrderFromQuoteDraft\FIELD_QUOTE
const FIELD_QUOTE
Definition:
OrderFromQuoteDraft.php:18
Commercetools\Api\Models\Order\OrderFromQuoteDraft\setShipmentState
setShipmentState(?string $shipmentState)
Commercetools\Api\Models\Order\OrderFromQuoteDraft\getVersion
getVersion()
Commercetools\Api\Models\Order\OrderFromQuoteDraft\setVersion
setVersion(?int $version)
Commercetools\Api\Models\Order\OrderFromQuoteDraft\getPaymentState
getPaymentState()
Commercetools\Api\Models\Order\OrderFromQuoteDraft\setOrderNumber
setOrderNumber(?string $orderNumber)
Commercetools\Api\Models\Order\OrderFromQuoteDraft\getShipmentState
getShipmentState()
Commercetools\Api\Models\Order\OrderFromQuoteDraft\setQuote
setQuote(?QuoteResourceIdentifier $quote)
Commercetools\Api\Models\Order\OrderFromQuoteDraft\FIELD_ORDER_STATE
const FIELD_ORDER_STATE
Definition:
OrderFromQuoteDraft.php:24
Commercetools\Api\Models\Order\OrderFromQuoteDraft\getQuote
getQuote()
Commercetools\Api\Models\Order\OrderFromQuoteDraft\getOrderState
getOrderState()
Commercetools\Api\Models\Order\OrderFromQuoteDraft\FIELD_STATE
const FIELD_STATE
Definition:
OrderFromQuoteDraft.php:25
Commercetools\Api\Models\Order\OrderFromQuoteDraft\setQuoteStateToAccepted
setQuoteStateToAccepted(?bool $quoteStateToAccepted)
Commercetools\Api\Models\Order\OrderFromQuoteDraft\setPaymentState
setPaymentState(?string $paymentState)
Commercetools\Api\Models\Order\OrderFromQuoteDraft\FIELD_ORDER_NUMBER
const FIELD_ORDER_NUMBER
Definition:
OrderFromQuoteDraft.php:21
Commercetools\Api\Models\Order\OrderFromQuoteDraft\getOrderNumber
getOrderNumber()
Commercetools\Api\Models\Order\OrderFromQuoteDraft\FIELD_PAYMENT_STATE
const FIELD_PAYMENT_STATE
Definition:
OrderFromQuoteDraft.php:22
Commercetools\Api\Models\Order\OrderFromQuoteDraft\getQuoteStateToAccepted
getQuoteStateToAccepted()
Commercetools\Api\Models\Order\OrderFromQuoteDraft\FIELD_VERSION
const FIELD_VERSION
Definition:
OrderFromQuoteDraft.php:19
Commercetools\Api\Models\Order\OrderFromQuoteDraft\getState
getState()
Commercetools\Api\Models\Order\OrderFromQuoteDraft\setOrderState
setOrderState(?string $orderState)
Commercetools\Api\Models\Quote\QuoteResourceIdentifier
Definition:
QuoteResourceIdentifier.php:16
Commercetools\Api\Models\State\StateResourceIdentifier
Definition:
StateResourceIdentifier.php:16
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Api\Models\Order
Definition:
CustomLineItemImportDraft.php:9
Generated by
1.9.1