commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
Loading...
Searching...
No Matches
VariantBulkUpdateResponseBuilder.php
1<?php
2
3declare(strict_types=1);
10
16use stdClass;
17
22{
27 private $successCount;
28
33 private $failureCount;
34
39 private $results;
40
47 public function getSuccessCount()
48 {
49 return $this->successCount;
50 }
51
58 public function getFailureCount()
59 {
60 return $this->failureCount;
61 }
62
69 public function getResults()
70 {
71 return $this->results;
72 }
73
78 public function withSuccessCount(?int $successCount)
79 {
80 $this->successCount = $successCount;
81
82 return $this;
83 }
84
89 public function withFailureCount(?int $failureCount)
90 {
91 $this->failureCount = $failureCount;
92
93 return $this;
94 }
95
101 {
102 $this->results = $results;
103
104 return $this;
105 }
106
107
109 {
111 $this->successCount,
112 $this->failureCount,
113 $this->results
114 );
115 }
116
117 public static function of(): VariantBulkUpdateResponseBuilder
118 {
119 return new self();
120 }
121}