commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-history
src
Models
Change
SetAssetCustomFieldChange.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\History\Models\Change
;
10
11
use
Commercetools\Base\JsonObject
;
12
use
Commercetools\Base\DateTimeImmutableCollection
;
13
use
Commercetools\History\Models\ChangeValue\AssetChangeValue
;
14
15
interface
SetAssetCustomFieldChange
extends
Change
16
{
17
18
public
const
FIELD_PREVIOUS_VALUE
=
'previousValue'
;
19
public
const
FIELD_NEXT_VALUE
=
'nextValue'
;
20
public
const
FIELD_NAME
=
'name'
;
21
public
const
FIELD_CUSTOM_TYPE_ID
=
'customTypeId'
;
22
public
const
FIELD_ASSET
=
'asset'
;
23
28
public
function
getChange
();
29
34
public
function
getType
();
35
42
public
function
getPreviousValue
();
43
50
public
function
getNextValue
();
51
58
public
function
getName
();
59
66
public
function
getCustomTypeId
();
67
74
public
function
getAsset
();
75
79
public
function
setChange
(?
string
$change): void;
80
84
public
function
setPreviousValue
( $previousValue): void;
85
89
public
function
setNextValue
( $nextValue): void;
90
94
public
function
setName
(?
string
$name): void;
95
99
public
function
setCustomTypeId
(?
string
$customTypeId): void;
100
104
public
function
setAsset
(?
AssetChangeValue
$asset): void;
105
}
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\History\Models\Change\Change
Definition:
Change.php:15
Commercetools\History\Models\Change\SetAssetCustomFieldChange
Definition:
SetAssetCustomFieldChange.php:16
Commercetools\History\Models\Change\SetAssetCustomFieldChange\getAsset
getAsset()
Commercetools\History\Models\Change\SetAssetCustomFieldChange\getChange
getChange()
Commercetools\History\Models\Change\SetAssetCustomFieldChange\getType
getType()
Commercetools\History\Models\Change\SetAssetCustomFieldChange\setPreviousValue
setPreviousValue( $previousValue)
Commercetools\History\Models\Change\SetAssetCustomFieldChange\FIELD_NAME
const FIELD_NAME
Definition:
SetAssetCustomFieldChange.php:20
Commercetools\History\Models\Change\SetAssetCustomFieldChange\setAsset
setAsset(?AssetChangeValue $asset)
Commercetools\History\Models\Change\SetAssetCustomFieldChange\getPreviousValue
getPreviousValue()
Commercetools\History\Models\Change\SetAssetCustomFieldChange\FIELD_CUSTOM_TYPE_ID
const FIELD_CUSTOM_TYPE_ID
Definition:
SetAssetCustomFieldChange.php:21
Commercetools\History\Models\Change\SetAssetCustomFieldChange\FIELD_ASSET
const FIELD_ASSET
Definition:
SetAssetCustomFieldChange.php:22
Commercetools\History\Models\Change\SetAssetCustomFieldChange\getNextValue
getNextValue()
Commercetools\History\Models\Change\SetAssetCustomFieldChange\setCustomTypeId
setCustomTypeId(?string $customTypeId)
Commercetools\History\Models\Change\SetAssetCustomFieldChange\setName
setName(?string $name)
Commercetools\History\Models\Change\SetAssetCustomFieldChange\getName
getName()
Commercetools\History\Models\Change\SetAssetCustomFieldChange\setNextValue
setNextValue( $nextValue)
Commercetools\History\Models\Change\SetAssetCustomFieldChange\setChange
setChange(?string $change)
Commercetools\History\Models\Change\SetAssetCustomFieldChange\getCustomTypeId
getCustomTypeId()
Commercetools\History\Models\Change\SetAssetCustomFieldChange\FIELD_PREVIOUS_VALUE
const FIELD_PREVIOUS_VALUE
Definition:
SetAssetCustomFieldChange.php:18
Commercetools\History\Models\Change\SetAssetCustomFieldChange\FIELD_NEXT_VALUE
const FIELD_NEXT_VALUE
Definition:
SetAssetCustomFieldChange.php:19
Commercetools\History\Models\ChangeValue\AssetChangeValue
Definition:
AssetChangeValue.php:16
Commercetools\History\Models\Change
Definition:
AddAddressChange.php:9
Generated by
1.9.1