commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
CartDiscount
CartDiscountSetValidFromAction.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Models\CartDiscount
;
10
11
use
Commercetools\Base\DateTimeImmutableCollection
;
12
use
Commercetools\Base\JsonObject
;
13
use DateTimeImmutable;
14
15
interface
CartDiscountSetValidFromAction
extends
CartDiscountUpdateAction
16
{
17
public
const
FIELD_VALID_FROM
=
'validFrom'
;
18
26
public
function
getValidFrom
();
27
31
public
function
setValidFrom
(?DateTimeImmutable $validFrom): void;
32
}
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\CartDiscount\CartDiscountSetValidFromAction
Definition:
CartDiscountSetValidFromAction.php:16
Commercetools\Api\Models\CartDiscount\CartDiscountSetValidFromAction\FIELD_VALID_FROM
const FIELD_VALID_FROM
Definition:
CartDiscountSetValidFromAction.php:17
Commercetools\Api\Models\CartDiscount\CartDiscountSetValidFromAction\setValidFrom
setValidFrom(?DateTimeImmutable $validFrom)
Commercetools\Api\Models\CartDiscount\CartDiscountSetValidFromAction\getValidFrom
getValidFrom()
Commercetools\Api\Models\CartDiscount\CartDiscountUpdateAction
Definition:
CartDiscountUpdateAction.php:15
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Api\Models\CartDiscount
Definition:
CartDiscount.php:9
Generated by
1.9.1