commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
Error
ExtensionNoResponseErrorBuilder.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Models\Error
;
10
11
use
Commercetools\Base\Builder
;
12
use
Commercetools\Base\DateTimeImmutableCollection
;
13
use
Commercetools\Base\JsonObject
;
14
use
Commercetools\Base\JsonObjectModel
;
15
use
Commercetools\Base\MapperFactory
;
16
use stdClass;
17
21
final
class
ExtensionNoResponseErrorBuilder
implements
Builder
22
{
27
private
$message;
28
33
private
$extensionId;
34
39
private
$extensionKey;
40
47
public
function
getMessage
()
48
{
49
return
$this->message;
50
}
51
58
public
function
getExtensionId
()
59
{
60
return
$this->extensionId;
61
}
62
69
public
function
getExtensionKey
()
70
{
71
return
$this->extensionKey;
72
}
73
78
public
function
withMessage
(?
string
$message)
79
{
80
$this->message = $message;
81
82
return
$this;
83
}
84
89
public
function
withExtensionId
(?
string
$extensionId)
90
{
91
$this->extensionId = $extensionId;
92
93
return
$this;
94
}
95
100
public
function
withExtensionKey
(?
string
$extensionKey)
101
{
102
$this->extensionKey = $extensionKey;
103
104
return
$this;
105
}
106
107
108
public
function
build
():
ExtensionNoResponseError
109
{
110
return
new
ExtensionNoResponseErrorModel
(
111
$this->message,
112
$this->extensionId,
113
$this->extensionKey
114
);
115
}
116
117
public
static
function
of
():
ExtensionNoResponseErrorBuilder
118
{
119
return
new
self
();
120
}
121
}
Commercetools\Api\Models\Error\ExtensionNoResponseErrorBuilder
Definition:
ExtensionNoResponseErrorBuilder.php:22
Commercetools\Api\Models\Error\ExtensionNoResponseErrorBuilder\of
static of()
Definition:
ExtensionNoResponseErrorBuilder.php:117
Commercetools\Api\Models\Error\ExtensionNoResponseErrorBuilder\withExtensionKey
withExtensionKey(?string $extensionKey)
Definition:
ExtensionNoResponseErrorBuilder.php:100
Commercetools\Api\Models\Error\ExtensionNoResponseErrorBuilder\getMessage
getMessage()
Definition:
ExtensionNoResponseErrorBuilder.php:47
Commercetools\Api\Models\Error\ExtensionNoResponseErrorBuilder\getExtensionId
getExtensionId()
Definition:
ExtensionNoResponseErrorBuilder.php:58
Commercetools\Api\Models\Error\ExtensionNoResponseErrorBuilder\getExtensionKey
getExtensionKey()
Definition:
ExtensionNoResponseErrorBuilder.php:69
Commercetools\Api\Models\Error\ExtensionNoResponseErrorBuilder\withMessage
withMessage(?string $message)
Definition:
ExtensionNoResponseErrorBuilder.php:78
Commercetools\Api\Models\Error\ExtensionNoResponseErrorBuilder\build
build()
Definition:
ExtensionNoResponseErrorBuilder.php:108
Commercetools\Api\Models\Error\ExtensionNoResponseErrorBuilder\withExtensionId
withExtensionId(?string $extensionId)
Definition:
ExtensionNoResponseErrorBuilder.php:89
Commercetools\Api\Models\Error\ExtensionNoResponseErrorModel
Definition:
ExtensionNoResponseErrorModel.php:21
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Base\JsonObjectModel
Definition:
JsonObjectModel.php:15
Commercetools\Base\MapperFactory
Definition:
MapperFactory.php:16
Commercetools\Api\Models\Error\ExtensionNoResponseError
Definition:
ExtensionNoResponseError.php:15
Commercetools\Base\Builder
Definition:
Builder.php:16
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Api\Models\Error
Definition:
AnonymousIdAlreadyInUseError.php:9
Generated by
1.9.1