commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
StandalonePriceValidUntilSetMessage.php
1 <?php
2 
3 declare(strict_types=1);
10 
13 use DateTimeImmutable;
14 
16 {
17  public const FIELD_VALID_UNTIL = 'validUntil';
18  public const FIELD_PREVIOUS_VALID_UNTIL = 'previousValidUntil';
19 
26  public function getValidUntil();
27 
34  public function getPreviousValidUntil();
35 
39  public function setValidUntil(?DateTimeImmutable $validUntil): void;
40 
44  public function setPreviousValidUntil(?DateTimeImmutable $previousValidUntil): void;
45 }
setPreviousValidUntil(?DateTimeImmutable $previousValidUntil)