commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
ShippingMethod
ZoneRateDraft.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Models\ShippingMethod
;
10
11
use
Commercetools\Api\Models\Zone\ZoneResourceIdentifier
;
12
use
Commercetools\Base\DateTimeImmutableCollection
;
13
use
Commercetools\Base\JsonObject
;
14
15
interface
ZoneRateDraft
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
(?
ZoneResourceIdentifier
$zone): void;
40
44
public
function
setShippingRates
(?
ShippingRateDraftCollection
$shippingRates): void;
45
}
Commercetools\Api\Models\ShippingMethod\ShippingRateDraftCollection
Definition:
ShippingRateDraftCollection.php:22
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\ShippingMethod\ZoneRateDraft
Definition:
ZoneRateDraft.php:16
Commercetools\Api\Models\ShippingMethod\ZoneRateDraft\setZone
setZone(?ZoneResourceIdentifier $zone)
Commercetools\Api\Models\ShippingMethod\ZoneRateDraft\getShippingRates
getShippingRates()
Commercetools\Api\Models\ShippingMethod\ZoneRateDraft\FIELD_SHIPPING_RATES
const FIELD_SHIPPING_RATES
Definition:
ZoneRateDraft.php:18
Commercetools\Api\Models\ShippingMethod\ZoneRateDraft\setShippingRates
setShippingRates(?ShippingRateDraftCollection $shippingRates)
Commercetools\Api\Models\ShippingMethod\ZoneRateDraft\FIELD_ZONE
const FIELD_ZONE
Definition:
ZoneRateDraft.php:17
Commercetools\Api\Models\ShippingMethod\ZoneRateDraft\getZone
getZone()
Commercetools\Api\Models\Zone\ZoneResourceIdentifier
Definition:
ZoneResourceIdentifier.php:16
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Api\Models\ShippingMethod
Definition:
CartClassificationTier.php:9
Generated by
1.9.1