commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
Loading...
Searching...
No Matches
Quote.php
1<?php
2
3declare(strict_types=1);
10
34use DateTimeImmutable;
35
36interface Quote extends BaseResource
37{
38 public const FIELD_KEY = 'key';
39 public const FIELD_LAST_MODIFIED_BY = 'lastModifiedBy';
40 public const FIELD_CREATED_BY = 'createdBy';
41 public const FIELD_QUOTE_REQUEST = 'quoteRequest';
42 public const FIELD_STAGED_QUOTE = 'stagedQuote';
43 public const FIELD_CUSTOMER = 'customer';
44 public const FIELD_CUSTOMER_GROUP = 'customerGroup';
45 public const FIELD_VALID_TO = 'validTo';
46 public const FIELD_SELLER_COMMENT = 'sellerComment';
47 public const FIELD_BUYER_COMMENT = 'buyerComment';
48 public const FIELD_STORE = 'store';
49 public const FIELD_LINE_ITEMS = 'lineItems';
50 public const FIELD_CUSTOM_LINE_ITEMS = 'customLineItems';
51 public const FIELD_TOTAL_PRICE = 'totalPrice';
52 public const FIELD_TAXED_PRICE = 'taxedPrice';
53 public const FIELD_SHIPPING_ADDRESS = 'shippingAddress';
54 public const FIELD_BILLING_ADDRESS = 'billingAddress';
55 public const FIELD_INVENTORY_MODE = 'inventoryMode';
56 public const FIELD_TAX_MODE = 'taxMode';
57 public const FIELD_TAX_ROUNDING_MODE = 'taxRoundingMode';
58 public const FIELD_TAX_CALCULATION_MODE = 'taxCalculationMode';
59 public const FIELD_COUNTRY = 'country';
60 public const FIELD_SHIPPING_INFO = 'shippingInfo';
61 public const FIELD_PAYMENT_INFO = 'paymentInfo';
62 public const FIELD_SHIPPING_RATE_INPUT = 'shippingRateInput';
63 public const FIELD_ITEM_SHIPPING_ADDRESSES = 'itemShippingAddresses';
64 public const FIELD_DIRECT_DISCOUNTS = 'directDiscounts';
65 public const FIELD_CUSTOM = 'custom';
66 public const FIELD_QUOTE_STATE = 'quoteState';
67 public const FIELD_STATE = 'state';
68 public const FIELD_PURCHASE_ORDER_NUMBER = 'purchaseOrderNumber';
69 public const FIELD_BUSINESS_UNIT = 'businessUnit';
70
77 public function getId();
78
85 public function getVersion();
86
93 public function getKey();
94
101 public function getCreatedAt();
102
109 public function getLastModifiedAt();
110
117 public function getLastModifiedBy();
118
125 public function getCreatedBy();
126
133 public function getQuoteRequest();
134
141 public function getStagedQuote();
142
149 public function getCustomer();
150
159 public function getCustomerGroup();
160
167 public function getValidTo();
168
175 public function getSellerComment();
176
183 public function getBuyerComment();
184
191 public function getStore();
192
199 public function getLineItems();
200
207 public function getCustomLineItems();
208
216 public function getTotalPrice();
217
226 public function getTaxedPrice();
227
235 public function getShippingAddress();
236
243 public function getBillingAddress();
244
251 public function getInventoryMode();
252
259 public function getTaxMode();
260
267 public function getTaxRoundingMode();
268
275 public function getTaxCalculationMode();
276
283 public function getCountry();
284
291 public function getShippingInfo();
292
299 public function getPaymentInfo();
300
307 public function getShippingRateInput();
308
318 public function getItemShippingAddresses();
319
326 public function getDirectDiscounts();
327
334 public function getCustom();
335
342 public function getQuoteState();
343
351 public function getState();
352
360 public function getPurchaseOrderNumber();
361
368 public function getBusinessUnit();
369
373 public function setId(?string $id): void;
374
378 public function setVersion(?int $version): void;
379
383 public function setKey(?string $key): void;
384
388 public function setCreatedAt(?DateTimeImmutable $createdAt): void;
389
393 public function setLastModifiedAt(?DateTimeImmutable $lastModifiedAt): void;
394
398 public function setLastModifiedBy(?LastModifiedBy $lastModifiedBy): void;
399
403 public function setCreatedBy(?CreatedBy $createdBy): void;
404
408 public function setQuoteRequest(?QuoteRequestReference $quoteRequest): void;
409
413 public function setStagedQuote(?StagedQuoteReference $stagedQuote): void;
414
418 public function setCustomer(?CustomerReference $customer): void;
419
423 public function setCustomerGroup(?CustomerGroupReference $customerGroup): void;
424
428 public function setValidTo(?DateTimeImmutable $validTo): void;
429
433 public function setSellerComment(?string $sellerComment): void;
434
438 public function setBuyerComment(?string $buyerComment): void;
439
443 public function setStore(?StoreKeyReference $store): void;
444
448 public function setLineItems(?LineItemCollection $lineItems): void;
449
453 public function setCustomLineItems(?CustomLineItemCollection $customLineItems): void;
454
458 public function setTotalPrice(?TypedMoney $totalPrice): void;
459
463 public function setTaxedPrice(?TaxedPrice $taxedPrice): void;
464
468 public function setShippingAddress(?Address $shippingAddress): void;
469
473 public function setBillingAddress(?Address $billingAddress): void;
474
478 public function setInventoryMode(?string $inventoryMode): void;
479
483 public function setTaxMode(?string $taxMode): void;
484
488 public function setTaxRoundingMode(?string $taxRoundingMode): void;
489
493 public function setTaxCalculationMode(?string $taxCalculationMode): void;
494
498 public function setCountry(?string $country): void;
499
503 public function setShippingInfo(?ShippingInfo $shippingInfo): void;
504
508 public function setPaymentInfo(?PaymentInfo $paymentInfo): void;
509
513 public function setShippingRateInput(?ShippingRateInput $shippingRateInput): void;
514
518 public function setItemShippingAddresses(?AddressCollection $itemShippingAddresses): void;
519
523 public function setDirectDiscounts(?DirectDiscountCollection $directDiscounts): void;
524
528 public function setCustom(?CustomFields $custom): void;
529
533 public function setQuoteState(?string $quoteState): void;
534
538 public function setState(?StateReference $state): void;
539
543 public function setPurchaseOrderNumber(?string $purchaseOrderNumber): void;
544
548 public function setBusinessUnit(?BusinessUnitKeyReference $businessUnit): void;
549}
setLastModifiedAt(?DateTimeImmutable $lastModifiedAt)
setDirectDiscounts(?DirectDiscountCollection $directDiscounts)
setPaymentInfo(?PaymentInfo $paymentInfo)
setPurchaseOrderNumber(?string $purchaseOrderNumber)
setShippingInfo(?ShippingInfo $shippingInfo)
setBillingAddress(?Address $billingAddress)
setBuyerComment(?string $buyerComment)
setSellerComment(?string $sellerComment)
setQuoteState(?string $quoteState)
setTaxedPrice(?TaxedPrice $taxedPrice)
setStore(?StoreKeyReference $store)
setCustom(?CustomFields $custom)
setLineItems(?LineItemCollection $lineItems)
setStagedQuote(?StagedQuoteReference $stagedQuote)
setQuoteRequest(?QuoteRequestReference $quoteRequest)
setCreatedBy(?CreatedBy $createdBy)
setInventoryMode(?string $inventoryMode)
setBusinessUnit(?BusinessUnitKeyReference $businessUnit)
setCustomLineItems(?CustomLineItemCollection $customLineItems)
setTaxCalculationMode(?string $taxCalculationMode)
setCustomerGroup(?CustomerGroupReference $customerGroup)
setItemShippingAddresses(?AddressCollection $itemShippingAddresses)
setCreatedAt(?DateTimeImmutable $createdAt)
setCustomer(?CustomerReference $customer)
setLastModifiedBy(?LastModifiedBy $lastModifiedBy)
setTotalPrice(?TypedMoney $totalPrice)
setShippingRateInput(?ShippingRateInput $shippingRateInput)
setValidTo(?DateTimeImmutable $validTo)
setState(?StateReference $state)
setShippingAddress(?Address $shippingAddress)
setTaxRoundingMode(?string $taxRoundingMode)