commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
Loading...
Searching...
No Matches
CartAddShippingMethodAction.php
1<?php
2
3declare(strict_types=1);
10
17
19{
20 public const FIELD_SHIPPING_KEY = 'shippingKey';
21 public const FIELD_SHIPPING_METHOD = 'shippingMethod';
22 public const FIELD_SHIPPING_ADDRESS = 'shippingAddress';
23 public const FIELD_SHIPPING_RATE_INPUT = 'shippingRateInput';
24 public const FIELD_EXTERNAL_TAX_RATE = 'externalTaxRate';
25 public const FIELD_DELIVERIES = 'deliveries';
26 public const FIELD_CUSTOM = 'custom';
27
34 public function getShippingKey();
35
43 public function getShippingMethod();
44
51 public function getShippingAddress();
52
65 public function getShippingRateInput();
66
73 public function getExternalTaxRate();
74
81 public function getDeliveries();
82
89 public function getCustom();
90
94 public function setShippingKey(?string $shippingKey): void;
95
99 public function setShippingMethod(?ShippingMethodResourceIdentifier $shippingMethod): void;
100
104 public function setShippingAddress(?BaseAddress $shippingAddress): void;
105
109 public function setShippingRateInput(?ShippingRateInputDraft $shippingRateInput): void;
110
114 public function setExternalTaxRate(?ExternalTaxRateDraft $externalTaxRate): void;
115
119 public function setDeliveries(?DeliveryDraftCollection $deliveries): void;
120
124 public function setCustom(?CustomFieldsDraft $custom): void;
125}
setShippingMethod(?ShippingMethodResourceIdentifier $shippingMethod)
setExternalTaxRate(?ExternalTaxRateDraft $externalTaxRate)
setDeliveries(?DeliveryDraftCollection $deliveries)
setShippingRateInput(?ShippingRateInputDraft $shippingRateInput)