commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
StandalonePriceValidFromSetMessage.php
1 <?php
2 
3 declare(strict_types=1);
10 
13 use DateTimeImmutable;
14 
16 {
17  public const FIELD_VALID_FROM = 'validFrom';
18  public const FIELD_PREVIOUS_VALID_FROM = 'previousValidFrom';
19 
26  public function getValidFrom();
27 
34  public function getPreviousValidFrom();
35 
39  public function setValidFrom(?DateTimeImmutable $validFrom): void;
40 
44  public function setPreviousValidFrom(?DateTimeImmutable $previousValidFrom): void;
45 }
setPreviousValidFrom(?DateTimeImmutable $previousValidFrom)