commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
QuoteRequestDraft.php
1 <?php
2 
3 declare(strict_types=1);
10 
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 }
setPurchaseOrderNumber(?string $purchaseOrderNumber)