commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
CartDiscount
CartDiscountValueAbsolute.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Models\CartDiscount
;
10
11
use
Commercetools\Api\Models\Common\CentPrecisionMoneyCollection
;
12
use
Commercetools\Base\DateTimeImmutableCollection
;
13
use
Commercetools\Base\JsonObject
;
14
15
interface
CartDiscountValueAbsolute
extends
CartDiscountValue
16
{
17
public
const
FIELD_MONEY
=
'money'
;
18
public
const
FIELD_APPLICATION_MODE
=
'applicationMode'
;
19
26
public
function
getMoney
();
27
34
public
function
getApplicationMode
();
35
39
public
function
setMoney
(?
CentPrecisionMoneyCollection
$money): void;
40
44
public
function
setApplicationMode
(?
string
$applicationMode): void;
45
}
Commercetools\Api\Models\Common\CentPrecisionMoneyCollection
Definition:
CentPrecisionMoneyCollection.php:22
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\CartDiscount\CartDiscountValueAbsolute
Definition:
CartDiscountValueAbsolute.php:16
Commercetools\Api\Models\CartDiscount\CartDiscountValueAbsolute\getApplicationMode
getApplicationMode()
Commercetools\Api\Models\CartDiscount\CartDiscountValueAbsolute\getMoney
getMoney()
Commercetools\Api\Models\CartDiscount\CartDiscountValueAbsolute\FIELD_APPLICATION_MODE
const FIELD_APPLICATION_MODE
Definition:
CartDiscountValueAbsolute.php:18
Commercetools\Api\Models\CartDiscount\CartDiscountValueAbsolute\setApplicationMode
setApplicationMode(?string $applicationMode)
Commercetools\Api\Models\CartDiscount\CartDiscountValueAbsolute\FIELD_MONEY
const FIELD_MONEY
Definition:
CartDiscountValueAbsolute.php:17
Commercetools\Api\Models\CartDiscount\CartDiscountValueAbsolute\setMoney
setMoney(?CentPrecisionMoneyCollection $money)
Commercetools\Api\Models\CartDiscount\CartDiscountValue
Definition:
CartDiscountValue.php:15
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Api\Models\CartDiscount
Definition:
CartDiscount.php:9
Generated by
1.9.1