commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
ShippingMethod
ZoneRate.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Models\ShippingMethod
;
10
11
use
Commercetools\Api\Models\Zone\ZoneReference
;
12
use
Commercetools\Base\DateTimeImmutableCollection
;
13
use
Commercetools\Base\JsonObject
;
14
15
interface
ZoneRate
extends
JsonObject
16
{
17
public
const
FIELD_ZONE
=
'zone'
;
18
public
const
FIELD_SHIPPING_RATES
=
'shippingRates'
;
19
26
public
function
getZone
();
27
34
public
function
getShippingRates
();
35
39
public
function
setZone
(?
ZoneReference
$zone): void;
40
44
public
function
setShippingRates
(?
ShippingRateCollection
$shippingRates): void;
45
}
Commercetools\Api\Models\ShippingMethod\ShippingRateCollection
Definition:
ShippingRateCollection.php:22
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\ShippingMethod\ZoneRate
Definition:
ZoneRate.php:16
Commercetools\Api\Models\ShippingMethod\ZoneRate\setZone
setZone(?ZoneReference $zone)
Commercetools\Api\Models\ShippingMethod\ZoneRate\getShippingRates
getShippingRates()
Commercetools\Api\Models\ShippingMethod\ZoneRate\FIELD_ZONE
const FIELD_ZONE
Definition:
ZoneRate.php:17
Commercetools\Api\Models\ShippingMethod\ZoneRate\setShippingRates
setShippingRates(?ShippingRateCollection $shippingRates)
Commercetools\Api\Models\ShippingMethod\ZoneRate\getZone
getZone()
Commercetools\Api\Models\ShippingMethod\ZoneRate\FIELD_SHIPPING_RATES
const FIELD_SHIPPING_RATES
Definition:
ZoneRate.php:18
Commercetools\Api\Models\Zone\ZoneReference
Definition:
ZoneReference.php:16
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Api\Models\ShippingMethod
Definition:
CartClassificationTier.php:9
Generated by
1.9.1