commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-history
src
Models
Change
ChangeInputHintChangeBuilder.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\History\Models\Change
;
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
ChangeInputHintChangeBuilder
implements
Builder
22
{
27
private
$change;
28
33
private
$previousValue;
34
39
private
$nextValue;
40
45
private
$fieldName;
46
51
private
$attributeName;
52
57
public
function
getChange
()
58
{
59
return
$this->change;
60
}
61
68
public
function
getPreviousValue
()
69
{
70
return
$this->previousValue;
71
}
72
79
public
function
getNextValue
()
80
{
81
return
$this->nextValue;
82
}
83
90
public
function
getFieldName
()
91
{
92
return
$this->fieldName;
93
}
94
101
public
function
getAttributeName
()
102
{
103
return
$this->attributeName;
104
}
105
110
public
function
withChange
(?
string
$change)
111
{
112
$this->change = $change;
113
114
return
$this;
115
}
116
121
public
function
withPreviousValue
(?
string
$previousValue)
122
{
123
$this->previousValue = $previousValue;
124
125
return
$this;
126
}
127
132
public
function
withNextValue
(?
string
$nextValue)
133
{
134
$this->nextValue = $nextValue;
135
136
return
$this;
137
}
138
143
public
function
withFieldName
(?
string
$fieldName)
144
{
145
$this->fieldName = $fieldName;
146
147
return
$this;
148
}
149
154
public
function
withAttributeName
(?
string
$attributeName)
155
{
156
$this->attributeName = $attributeName;
157
158
return
$this;
159
}
160
161
162
public
function
build
():
ChangeInputHintChange
163
{
164
return
new
ChangeInputHintChangeModel
(
165
$this->change,
166
$this->previousValue,
167
$this->nextValue,
168
$this->fieldName,
169
$this->attributeName
170
);
171
}
172
173
public
static
function
of
():
ChangeInputHintChangeBuilder
174
{
175
return
new
self
();
176
}
177
}
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Base\JsonObjectModel
Definition:
JsonObjectModel.php:15
Commercetools\Base\MapperFactory
Definition:
MapperFactory.php:16
Commercetools\History\Models\Change\ChangeInputHintChangeBuilder
Definition:
ChangeInputHintChangeBuilder.php:22
Commercetools\History\Models\Change\ChangeInputHintChangeBuilder\build
build()
Definition:
ChangeInputHintChangeBuilder.php:162
Commercetools\History\Models\Change\ChangeInputHintChangeBuilder\getAttributeName
getAttributeName()
Definition:
ChangeInputHintChangeBuilder.php:101
Commercetools\History\Models\Change\ChangeInputHintChangeBuilder\withChange
withChange(?string $change)
Definition:
ChangeInputHintChangeBuilder.php:110
Commercetools\History\Models\Change\ChangeInputHintChangeBuilder\getChange
getChange()
Definition:
ChangeInputHintChangeBuilder.php:57
Commercetools\History\Models\Change\ChangeInputHintChangeBuilder\of
static of()
Definition:
ChangeInputHintChangeBuilder.php:173
Commercetools\History\Models\Change\ChangeInputHintChangeBuilder\getNextValue
getNextValue()
Definition:
ChangeInputHintChangeBuilder.php:79
Commercetools\History\Models\Change\ChangeInputHintChangeBuilder\withFieldName
withFieldName(?string $fieldName)
Definition:
ChangeInputHintChangeBuilder.php:143
Commercetools\History\Models\Change\ChangeInputHintChangeBuilder\getFieldName
getFieldName()
Definition:
ChangeInputHintChangeBuilder.php:90
Commercetools\History\Models\Change\ChangeInputHintChangeBuilder\withAttributeName
withAttributeName(?string $attributeName)
Definition:
ChangeInputHintChangeBuilder.php:154
Commercetools\History\Models\Change\ChangeInputHintChangeBuilder\getPreviousValue
getPreviousValue()
Definition:
ChangeInputHintChangeBuilder.php:68
Commercetools\History\Models\Change\ChangeInputHintChangeBuilder\withNextValue
withNextValue(?string $nextValue)
Definition:
ChangeInputHintChangeBuilder.php:132
Commercetools\History\Models\Change\ChangeInputHintChangeBuilder\withPreviousValue
withPreviousValue(?string $previousValue)
Definition:
ChangeInputHintChangeBuilder.php:121
Commercetools\History\Models\Change\ChangeInputHintChangeModel
Definition:
ChangeInputHintChangeModel.php:21
Commercetools\Base\Builder
Definition:
Builder.php:16
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\History\Models\Change\ChangeInputHintChange
Definition:
ChangeInputHintChange.php:15
Commercetools\History\Models\Change
Definition:
AddAddressChange.php:9
Generated by
1.9.1