commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
Loading...
Searching...
No Matches
lib
commercetools-api
src
Models
Common
DiscountedPriceDraft.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Models\Common
;
10
11
use
Commercetools\Api\Models\ProductDiscount\ProductDiscountReference
;
12
use
Commercetools\Base\DateTimeImmutableCollection
;
13
use
Commercetools\Base\JsonObject
;
14
15
interface
DiscountedPriceDraft
extends
JsonObject
16
{
17
public
const
FIELD_VALUE
=
'value'
;
18
public
const
FIELD_DISCOUNT
=
'discount'
;
19
27
public
function
getValue
();
28
35
public
function
getDiscount
();
36
40
public
function
setValue
(?
Money
$value): void;
41
45
public
function
setDiscount
(?
ProductDiscountReference
$discount): void;
46
}
Commercetools\Base\DateTimeImmutableCollection
Definition
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\Common\DiscountedPriceDraft
Definition
DiscountedPriceDraft.php:16
Commercetools\Api\Models\Common\DiscountedPriceDraft\setValue
setValue(?Money $value)
Commercetools\Api\Models\Common\DiscountedPriceDraft\getDiscount
getDiscount()
Commercetools\Api\Models\Common\DiscountedPriceDraft\FIELD_VALUE
const FIELD_VALUE
Definition
DiscountedPriceDraft.php:17
Commercetools\Api\Models\Common\DiscountedPriceDraft\FIELD_DISCOUNT
const FIELD_DISCOUNT
Definition
DiscountedPriceDraft.php:18
Commercetools\Api\Models\Common\DiscountedPriceDraft\getValue
getValue()
Commercetools\Api\Models\Common\DiscountedPriceDraft\setDiscount
setDiscount(?ProductDiscountReference $discount)
Commercetools\Api\Models\Common\Money
Definition
Money.php:15
Commercetools\Api\Models\ProductDiscount\ProductDiscountReference
Definition
ProductDiscountReference.php:16
Commercetools\Base\JsonObject
Definition
JsonObject.php:15
Commercetools\Api\Models\Common
Definition
Address.php:9
Generated by
1.9.8