commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
Loading...
Searching...
No Matches
RecurringOrderActiveBuilder.php
1<?php
2
3declare(strict_types=1);
10
16use DateTimeImmutable;
17use stdClass;
18
23{
28 private $resumesAt;
29
36 public function getResumesAt()
37 {
38 return $this->resumesAt;
39 }
40
45 public function withResumesAt(?DateTimeImmutable $resumesAt)
46 {
47 $this->resumesAt = $resumesAt;
48
49 return $this;
50 }
51
52
53 public function build(): RecurringOrderActive
54 {
56 $this->resumesAt
57 );
58 }
59
60 public static function of(): RecurringOrderActiveBuilder
61 {
62 return new self();
63 }
64}