commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
ShippingInfo.php
1 <?php
2 
3 declare(strict_types=1);
10 
19 
20 interface ShippingInfo extends JsonObject
21 {
22  public const FIELD_SHIPPING_METHOD_NAME = 'shippingMethodName';
23  public const FIELD_PRICE = 'price';
24  public const FIELD_SHIPPING_RATE = 'shippingRate';
25  public const FIELD_TAXED_PRICE = 'taxedPrice';
26  public const FIELD_TAX_RATE = 'taxRate';
27  public const FIELD_TAX_CATEGORY = 'taxCategory';
28  public const FIELD_SHIPPING_METHOD = 'shippingMethod';
29  public const FIELD_DELIVERIES = 'deliveries';
30  public const FIELD_DISCOUNTED_PRICE = 'discountedPrice';
31  public const FIELD_SHIPPING_METHOD_STATE = 'shippingMethodState';
32 
39  public function getShippingMethodName();
40 
47  public function getPrice();
48 
55  public function getShippingRate();
56 
63  public function getTaxedPrice();
64 
72  public function getTaxRate();
73 
80  public function getTaxCategory();
81 
88  public function getShippingMethod();
89 
96  public function getDeliveries();
97 
104  public function getDiscountedPrice();
105 
112  public function getShippingMethodState();
113 
117  public function setShippingMethodName(?string $shippingMethodName): void;
118 
122  public function setPrice(?CentPrecisionMoney $price): void;
123 
127  public function setShippingRate(?ShippingRate $shippingRate): void;
128 
132  public function setTaxedPrice(?TaxedItemPrice $taxedPrice): void;
133 
137  public function setTaxRate(?TaxRate $taxRate): void;
138 
142  public function setTaxCategory(?TaxCategoryReference $taxCategory): void;
143 
147  public function setShippingMethod(?ShippingMethodReference $shippingMethod): void;
148 
152  public function setDeliveries(?DeliveryCollection $deliveries): void;
153 
157  public function setDiscountedPrice(?DiscountedLineItemPrice $discountedPrice): void;
158 
162  public function setShippingMethodState(?string $shippingMethodState): void;
163 }
setShippingRate(?ShippingRate $shippingRate)
setTaxedPrice(?TaxedItemPrice $taxedPrice)
setDiscountedPrice(?DiscountedLineItemPrice $discountedPrice)
setDeliveries(?DeliveryCollection $deliveries)
setShippingMethodState(?string $shippingMethodState)
setShippingMethod(?ShippingMethodReference $shippingMethod)
setShippingMethodName(?string $shippingMethodName)
setPrice(?CentPrecisionMoney $price)
setTaxCategory(?TaxCategoryReference $taxCategory)