commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
OrderFromQuoteDraft.php
1 <?php
2 
3 declare(strict_types=1);
10 
15 
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 }
setState(?StateResourceIdentifier $state)
setQuote(?QuoteResourceIdentifier $quote)
setQuoteStateToAccepted(?bool $quoteStateToAccepted)