commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
ShippingMethod
CartScoreTier.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Models\ShippingMethod
;
10
11
use
Commercetools\Api\Models\Common\Money
;
12
use
Commercetools\Base\DateTimeImmutableCollection
;
13
use
Commercetools\Base\JsonObject
;
14
15
interface
CartScoreTier
extends
ShippingRatePriceTier
16
{
17
public
const
FIELD_SCORE
=
'score'
;
18
public
const
FIELD_PRICE
=
'price'
;
19
public
const
FIELD_PRICE_FUNCTION
=
'priceFunction'
;
20
public
const
FIELD_IS_MATCHING
=
'isMatching'
;
21
28
public
function
getScore
();
29
36
public
function
getPrice
();
37
44
public
function
getPriceFunction
();
45
52
public
function
getIsMatching
();
53
57
public
function
setScore
(?
int
$score): void;
58
62
public
function
setPrice
(?
Money
$price): void;
63
67
public
function
setPriceFunction
(?
PriceFunction
$priceFunction): void;
68
72
public
function
setIsMatching
(?
bool
$isMatching): void;
73
}
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\Common\Money
Definition:
Money.php:15
Commercetools\Api\Models\ShippingMethod\CartScoreTier
Definition:
CartScoreTier.php:16
Commercetools\Api\Models\ShippingMethod\CartScoreTier\setScore
setScore(?int $score)
Commercetools\Api\Models\ShippingMethod\CartScoreTier\setIsMatching
setIsMatching(?bool $isMatching)
Commercetools\Api\Models\ShippingMethod\CartScoreTier\FIELD_PRICE
const FIELD_PRICE
Definition:
CartScoreTier.php:18
Commercetools\Api\Models\ShippingMethod\CartScoreTier\getScore
getScore()
Commercetools\Api\Models\ShippingMethod\CartScoreTier\FIELD_IS_MATCHING
const FIELD_IS_MATCHING
Definition:
CartScoreTier.php:20
Commercetools\Api\Models\ShippingMethod\CartScoreTier\getPriceFunction
getPriceFunction()
Commercetools\Api\Models\ShippingMethod\CartScoreTier\FIELD_PRICE_FUNCTION
const FIELD_PRICE_FUNCTION
Definition:
CartScoreTier.php:19
Commercetools\Api\Models\ShippingMethod\CartScoreTier\setPrice
setPrice(?Money $price)
Commercetools\Api\Models\ShippingMethod\CartScoreTier\getPrice
getPrice()
Commercetools\Api\Models\ShippingMethod\CartScoreTier\getIsMatching
getIsMatching()
Commercetools\Api\Models\ShippingMethod\CartScoreTier\FIELD_SCORE
const FIELD_SCORE
Definition:
CartScoreTier.php:17
Commercetools\Api\Models\ShippingMethod\CartScoreTier\setPriceFunction
setPriceFunction(?PriceFunction $priceFunction)
Commercetools\Api\Models\ShippingMethod\PriceFunction
Definition:
PriceFunction.php:15
Commercetools\Api\Models\ShippingMethod\ShippingRatePriceTier
Definition:
ShippingRatePriceTier.php:15
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Api\Models\ShippingMethod
Definition:
CartClassificationTier.php:9
Generated by
1.9.1