commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
Loading...
Searching...
No Matches
QuoteDraft.php
1<?php
2
3declare(strict_types=1);
10
16
17interface 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}
setCustom(?CustomFieldsDraft $custom)
setStagedQuote(?StagedQuoteResourceIdentifier $stagedQuote)
setStagedQuoteStateToSent(?bool $stagedQuoteStateToSent)
setStagedQuoteVersion(?int $stagedQuoteVersion)