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