commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
Loading...
Searching...
No Matches
ImportResponseModel.php
1<?php
2
3declare(strict_types=1);
10
16use stdClass;
17
22{
28
29
33 public function __construct(
35 ) {
36 $this->operationStatus = $operationStatus;
37 }
38
43 public function getOperationStatus()
44 {
45 if (is_null($this->operationStatus)) {
47 $data = $this->raw(self::FIELD_OPERATION_STATUS);
48 if (is_null($data)) {
49 return null;
50 }
51 $this->operationStatus = ImportOperationStatusCollection::fromArray($data);
52 }
53
55 }
56
57
62 {
63 $this->operationStatus = $operationStatus;
64 }
65}
__construct(?ImportOperationStatusCollection $operationStatus=null)
setOperationStatus(?ImportOperationStatusCollection $operationStatus)