commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
QuoteRequest.php
1 <?php
2 
3 declare(strict_types=1);
10 
33 use DateTimeImmutable;
34 
35 interface QuoteRequest extends BaseResource
36 {
37  public const FIELD_KEY = 'key';
38  public const FIELD_LAST_MODIFIED_BY = 'lastModifiedBy';
39  public const FIELD_CREATED_BY = 'createdBy';
40  public const FIELD_QUOTE_REQUEST_STATE = 'quoteRequestState';
41  public const FIELD_COMMENT = 'comment';
42  public const FIELD_CUSTOMER = 'customer';
43  public const FIELD_CUSTOMER_GROUP = 'customerGroup';
44  public const FIELD_STORE = 'store';
45  public const FIELD_LINE_ITEMS = 'lineItems';
46  public const FIELD_CUSTOM_LINE_ITEMS = 'customLineItems';
47  public const FIELD_TOTAL_PRICE = 'totalPrice';
48  public const FIELD_TAXED_PRICE = 'taxedPrice';
49  public const FIELD_SHIPPING_ADDRESS = 'shippingAddress';
50  public const FIELD_BILLING_ADDRESS = 'billingAddress';
51  public const FIELD_INVENTORY_MODE = 'inventoryMode';
52  public const FIELD_TAX_MODE = 'taxMode';
53  public const FIELD_TAX_ROUNDING_MODE = 'taxRoundingMode';
54  public const FIELD_TAX_CALCULATION_MODE = 'taxCalculationMode';
55  public const FIELD_COUNTRY = 'country';
56  public const FIELD_SHIPPING_INFO = 'shippingInfo';
57  public const FIELD_PAYMENT_INFO = 'paymentInfo';
58  public const FIELD_SHIPPING_RATE_INPUT = 'shippingRateInput';
59  public const FIELD_ITEM_SHIPPING_ADDRESSES = 'itemShippingAddresses';
60  public const FIELD_DIRECT_DISCOUNTS = 'directDiscounts';
61  public const FIELD_CUSTOM = 'custom';
62  public const FIELD_STATE = 'state';
63  public const FIELD_PURCHASE_ORDER_NUMBER = 'purchaseOrderNumber';
64  public const FIELD_CART = 'cart';
65  public const FIELD_BUSINESS_UNIT = 'businessUnit';
66 
73  public function getId();
74 
81  public function getVersion();
82 
89  public function getKey();
90 
97  public function getCreatedAt();
98 
105  public function getLastModifiedAt();
106 
113  public function getLastModifiedBy();
114 
121  public function getCreatedBy();
122 
129  public function getQuoteRequestState();
130 
137  public function getComment();
138 
145  public function getCustomer();
146 
155  public function getCustomerGroup();
156 
163  public function getStore();
164 
171  public function getLineItems();
172 
179  public function getCustomLineItems();
180 
188  public function getTotalPrice();
189 
198  public function getTaxedPrice();
199 
207  public function getShippingAddress();
208 
215  public function getBillingAddress();
216 
223  public function getInventoryMode();
224 
231  public function getTaxMode();
232 
239  public function getTaxRoundingMode();
240 
247  public function getTaxCalculationMode();
248 
255  public function getCountry();
256 
263  public function getShippingInfo();
264 
271  public function getPaymentInfo();
272 
279  public function getShippingRateInput();
280 
290  public function getItemShippingAddresses();
291 
298  public function getDirectDiscounts();
299 
306  public function getCustom();
307 
315  public function getState();
316 
324  public function getPurchaseOrderNumber();
325 
332  public function getCart();
333 
340  public function getBusinessUnit();
341 
345  public function setId(?string $id): void;
346 
350  public function setVersion(?int $version): void;
351 
355  public function setKey(?string $key): void;
356 
360  public function setCreatedAt(?DateTimeImmutable $createdAt): void;
361 
365  public function setLastModifiedAt(?DateTimeImmutable $lastModifiedAt): void;
366 
370  public function setLastModifiedBy(?LastModifiedBy $lastModifiedBy): void;
371 
375  public function setCreatedBy(?CreatedBy $createdBy): void;
376 
380  public function setQuoteRequestState(?string $quoteRequestState): void;
381 
385  public function setComment(?string $comment): void;
386 
390  public function setCustomer(?CustomerReference $customer): void;
391 
395  public function setCustomerGroup(?CustomerGroupReference $customerGroup): void;
396 
400  public function setStore(?StoreKeyReference $store): void;
401 
405  public function setLineItems(?LineItemCollection $lineItems): void;
406 
410  public function setCustomLineItems(?CustomLineItemCollection $customLineItems): void;
411 
415  public function setTotalPrice(?TypedMoney $totalPrice): void;
416 
420  public function setTaxedPrice(?TaxedPrice $taxedPrice): void;
421 
425  public function setShippingAddress(?Address $shippingAddress): void;
426 
430  public function setBillingAddress(?Address $billingAddress): void;
431 
435  public function setInventoryMode(?string $inventoryMode): void;
436 
440  public function setTaxMode(?string $taxMode): void;
441 
445  public function setTaxRoundingMode(?string $taxRoundingMode): void;
446 
450  public function setTaxCalculationMode(?string $taxCalculationMode): void;
451 
455  public function setCountry(?string $country): void;
456 
460  public function setShippingInfo(?ShippingInfo $shippingInfo): void;
461 
465  public function setPaymentInfo(?PaymentInfo $paymentInfo): void;
466 
470  public function setShippingRateInput(?ShippingRateInput $shippingRateInput): void;
471 
475  public function setItemShippingAddresses(?AddressCollection $itemShippingAddresses): void;
476 
480  public function setDirectDiscounts(?DirectDiscountCollection $directDiscounts): void;
481 
485  public function setCustom(?CustomFields $custom): void;
486 
490  public function setState(?StateReference $state): void;
491 
495  public function setPurchaseOrderNumber(?string $purchaseOrderNumber): void;
496 
500  public function setCart(?CartReference $cart): void;
501 
505  public function setBusinessUnit(?BusinessUnitKeyReference $businessUnit): void;
506 }
setCustomLineItems(?CustomLineItemCollection $customLineItems)
setTaxCalculationMode(?string $taxCalculationMode)
setBusinessUnit(?BusinessUnitKeyReference $businessUnit)
setLastModifiedBy(?LastModifiedBy $lastModifiedBy)
setShippingInfo(?ShippingInfo $shippingInfo)
setDirectDiscounts(?DirectDiscountCollection $directDiscounts)
setPurchaseOrderNumber(?string $purchaseOrderNumber)
setCreatedAt(?DateTimeImmutable $createdAt)
setItemShippingAddresses(?AddressCollection $itemShippingAddresses)
setQuoteRequestState(?string $quoteRequestState)
setCustomerGroup(?CustomerGroupReference $customerGroup)
setLastModifiedAt(?DateTimeImmutable $lastModifiedAt)
setLineItems(?LineItemCollection $lineItems)
setShippingRateInput(?ShippingRateInput $shippingRateInput)