commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
Shipping.php
1 <?php
2 
3 declare(strict_types=1);
10 
15 
16 interface Shipping extends JsonObject
17 {
18  public const FIELD_SHIPPING_KEY = 'shippingKey';
19  public const FIELD_SHIPPING_INFO = 'shippingInfo';
20  public const FIELD_SHIPPING_ADDRESS = 'shippingAddress';
21  public const FIELD_SHIPPING_RATE_INPUT = 'shippingRateInput';
22  public const FIELD_SHIPPING_CUSTOM_FIELDS = 'shippingCustomFields';
23 
30  public function getShippingKey();
31 
38  public function getShippingInfo();
39 
46  public function getShippingAddress();
47 
60  public function getShippingRateInput();
61 
68  public function getShippingCustomFields();
69 
73  public function setShippingKey(?string $shippingKey): void;
74 
78  public function setShippingInfo(?ShippingInfo $shippingInfo): void;
79 
83  public function setShippingAddress(?Address $shippingAddress): void;
84 
88  public function setShippingRateInput(?ShippingRateInput $shippingRateInput): void;
89 
93  public function setShippingCustomFields(?CustomFields $shippingCustomFields): void;
94 }
setShippingRateInput(?ShippingRateInput $shippingRateInput)
setShippingAddress(?Address $shippingAddress)
setShippingInfo(?ShippingInfo $shippingInfo)
setShippingCustomFields(?CustomFields $shippingCustomFields)
setShippingKey(?string $shippingKey)