commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
Cart
ShippingInfo.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Models\Cart
;
10
11
use
Commercetools\Api\Models\Common\CentPrecisionMoney
;
12
use
Commercetools\Api\Models\Order\DeliveryCollection
;
13
use
Commercetools\Api\Models\ShippingMethod\ShippingMethodReference
;
14
use
Commercetools\Api\Models\ShippingMethod\ShippingRate
;
15
use
Commercetools\Api\Models\TaxCategory\TaxCategoryReference
;
16
use
Commercetools\Api\Models\TaxCategory\TaxRate
;
17
use
Commercetools\Base\DateTimeImmutableCollection
;
18
use
Commercetools\Base\JsonObject
;
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
}
Commercetools\Api\Models\Order\DeliveryCollection
Definition:
DeliveryCollection.php:22
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\Cart\DiscountedLineItemPrice
Definition:
DiscountedLineItemPrice.php:16
Commercetools\Api\Models\Cart\ShippingInfo
Definition:
ShippingInfo.php:21
Commercetools\Api\Models\Cart\ShippingInfo\FIELD_SHIPPING_METHOD_STATE
const FIELD_SHIPPING_METHOD_STATE
Definition:
ShippingInfo.php:31
Commercetools\Api\Models\Cart\ShippingInfo\getShippingRate
getShippingRate()
Commercetools\Api\Models\Cart\ShippingInfo\getDeliveries
getDeliveries()
Commercetools\Api\Models\Cart\ShippingInfo\setShippingRate
setShippingRate(?ShippingRate $shippingRate)
Commercetools\Api\Models\Cart\ShippingInfo\FIELD_SHIPPING_METHOD
const FIELD_SHIPPING_METHOD
Definition:
ShippingInfo.php:28
Commercetools\Api\Models\Cart\ShippingInfo\FIELD_TAX_RATE
const FIELD_TAX_RATE
Definition:
ShippingInfo.php:26
Commercetools\Api\Models\Cart\ShippingInfo\getDiscountedPrice
getDiscountedPrice()
Commercetools\Api\Models\Cart\ShippingInfo\getShippingMethodState
getShippingMethodState()
Commercetools\Api\Models\Cart\ShippingInfo\getTaxRate
getTaxRate()
Commercetools\Api\Models\Cart\ShippingInfo\setTaxedPrice
setTaxedPrice(?TaxedItemPrice $taxedPrice)
Commercetools\Api\Models\Cart\ShippingInfo\setDiscountedPrice
setDiscountedPrice(?DiscountedLineItemPrice $discountedPrice)
Commercetools\Api\Models\Cart\ShippingInfo\setDeliveries
setDeliveries(?DeliveryCollection $deliveries)
Commercetools\Api\Models\Cart\ShippingInfo\setShippingMethodState
setShippingMethodState(?string $shippingMethodState)
Commercetools\Api\Models\Cart\ShippingInfo\FIELD_SHIPPING_RATE
const FIELD_SHIPPING_RATE
Definition:
ShippingInfo.php:24
Commercetools\Api\Models\Cart\ShippingInfo\getShippingMethodName
getShippingMethodName()
Commercetools\Api\Models\Cart\ShippingInfo\setTaxRate
setTaxRate(?TaxRate $taxRate)
Commercetools\Api\Models\Cart\ShippingInfo\FIELD_TAXED_PRICE
const FIELD_TAXED_PRICE
Definition:
ShippingInfo.php:25
Commercetools\Api\Models\Cart\ShippingInfo\setShippingMethod
setShippingMethod(?ShippingMethodReference $shippingMethod)
Commercetools\Api\Models\Cart\ShippingInfo\setShippingMethodName
setShippingMethodName(?string $shippingMethodName)
Commercetools\Api\Models\Cart\ShippingInfo\FIELD_TAX_CATEGORY
const FIELD_TAX_CATEGORY
Definition:
ShippingInfo.php:27
Commercetools\Api\Models\Cart\ShippingInfo\getPrice
getPrice()
Commercetools\Api\Models\Cart\ShippingInfo\FIELD_SHIPPING_METHOD_NAME
const FIELD_SHIPPING_METHOD_NAME
Definition:
ShippingInfo.php:22
Commercetools\Api\Models\Cart\ShippingInfo\getTaxCategory
getTaxCategory()
Commercetools\Api\Models\Cart\ShippingInfo\FIELD_DISCOUNTED_PRICE
const FIELD_DISCOUNTED_PRICE
Definition:
ShippingInfo.php:30
Commercetools\Api\Models\Cart\ShippingInfo\setPrice
setPrice(?CentPrecisionMoney $price)
Commercetools\Api\Models\Cart\ShippingInfo\getShippingMethod
getShippingMethod()
Commercetools\Api\Models\Cart\ShippingInfo\FIELD_DELIVERIES
const FIELD_DELIVERIES
Definition:
ShippingInfo.php:29
Commercetools\Api\Models\Cart\ShippingInfo\FIELD_PRICE
const FIELD_PRICE
Definition:
ShippingInfo.php:23
Commercetools\Api\Models\Cart\ShippingInfo\getTaxedPrice
getTaxedPrice()
Commercetools\Api\Models\Cart\ShippingInfo\setTaxCategory
setTaxCategory(?TaxCategoryReference $taxCategory)
Commercetools\Api\Models\Cart\TaxedItemPrice
Definition:
TaxedItemPrice.php:16
Commercetools\Api\Models\Common\CentPrecisionMoney
Definition:
CentPrecisionMoney.php:15
Commercetools\Api\Models\ShippingMethod\ShippingMethodReference
Definition:
ShippingMethodReference.php:16
Commercetools\Api\Models\ShippingMethod\ShippingRate
Definition:
ShippingRate.php:16
Commercetools\Api\Models\TaxCategory\TaxCategoryReference
Definition:
TaxCategoryReference.php:16
Commercetools\Api\Models\TaxCategory\TaxRate
Definition:
TaxRate.php:15
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Api\Models\Cart
Definition:
Cart.php:9
Generated by
1.9.1