commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-history
src
Models
Change
SetAssetKeyChange.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
SetAssetKeyChange
extends
Change
16
{
17
18
public
const
FIELD_PREVIOUS_VALUE
=
'previousValue'
;
19
public
const
FIELD_NEXT_VALUE
=
'nextValue'
;
20
public
const
FIELD_ASSET
=
'asset'
;
21
26
public
function
getChange
();
27
32
public
function
getType
();
33
40
public
function
getPreviousValue
();
41
48
public
function
getNextValue
();
49
56
public
function
getAsset
();
57
61
public
function
setChange
(?
string
$change): void;
62
66
public
function
setPreviousValue
(?
string
$previousValue): void;
67
71
public
function
setNextValue
(?
string
$nextValue): void;
72
76
public
function
setAsset
(?
AssetChangeValue
$asset): void;
77
}
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\SetAssetKeyChange
Definition:
SetAssetKeyChange.php:16
Commercetools\History\Models\Change\SetAssetKeyChange\FIELD_PREVIOUS_VALUE
const FIELD_PREVIOUS_VALUE
Definition:
SetAssetKeyChange.php:18
Commercetools\History\Models\Change\SetAssetKeyChange\setNextValue
setNextValue(?string $nextValue)
Commercetools\History\Models\Change\SetAssetKeyChange\getChange
getChange()
Commercetools\History\Models\Change\SetAssetKeyChange\setChange
setChange(?string $change)
Commercetools\History\Models\Change\SetAssetKeyChange\getPreviousValue
getPreviousValue()
Commercetools\History\Models\Change\SetAssetKeyChange\setAsset
setAsset(?AssetChangeValue $asset)
Commercetools\History\Models\Change\SetAssetKeyChange\getAsset
getAsset()
Commercetools\History\Models\Change\SetAssetKeyChange\getNextValue
getNextValue()
Commercetools\History\Models\Change\SetAssetKeyChange\getType
getType()
Commercetools\History\Models\Change\SetAssetKeyChange\FIELD_ASSET
const FIELD_ASSET
Definition:
SetAssetKeyChange.php:20
Commercetools\History\Models\Change\SetAssetKeyChange\setPreviousValue
setPreviousValue(?string $previousValue)
Commercetools\History\Models\Change\SetAssetKeyChange\FIELD_NEXT_VALUE
const FIELD_NEXT_VALUE
Definition:
SetAssetKeyChange.php:19
Commercetools\History\Models\ChangeValue\AssetChangeValue
Definition:
AssetChangeValue.php:16
Commercetools\History\Models\Change
Definition:
AddAddressChange.php:9
Generated by
1.9.1