commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-history
src
Models
Change
SetAssetSourcesChange.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
use
Commercetools\History\Models\Common\AssetSourceCollection
;
15
16
interface
SetAssetSourcesChange
extends
Change
17
{
18
19
public
const
FIELD_PREVIOUS_VALUE
=
'previousValue'
;
20
public
const
FIELD_NEXT_VALUE
=
'nextValue'
;
21
public
const
FIELD_ASSET
=
'asset'
;
22
27
public
function
getChange
();
28
33
public
function
getType
();
34
41
public
function
getPreviousValue
();
42
49
public
function
getNextValue
();
50
57
public
function
getAsset
();
58
62
public
function
setChange
(?
string
$change): void;
63
67
public
function
setPreviousValue
(?
AssetSourceCollection
$previousValue): void;
68
72
public
function
setNextValue
(?
AssetSourceCollection
$nextValue): void;
73
77
public
function
setAsset
(?
AssetChangeValue
$asset): void;
78
}
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\History\Models\Common\AssetSourceCollection
Definition:
AssetSourceCollection.php:22
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\History\Models\Change\Change
Definition:
Change.php:15
Commercetools\History\Models\Change\SetAssetSourcesChange
Definition:
SetAssetSourcesChange.php:17
Commercetools\History\Models\Change\SetAssetSourcesChange\setChange
setChange(?string $change)
Commercetools\History\Models\Change\SetAssetSourcesChange\FIELD_ASSET
const FIELD_ASSET
Definition:
SetAssetSourcesChange.php:21
Commercetools\History\Models\Change\SetAssetSourcesChange\FIELD_NEXT_VALUE
const FIELD_NEXT_VALUE
Definition:
SetAssetSourcesChange.php:20
Commercetools\History\Models\Change\SetAssetSourcesChange\getPreviousValue
getPreviousValue()
Commercetools\History\Models\Change\SetAssetSourcesChange\setNextValue
setNextValue(?AssetSourceCollection $nextValue)
Commercetools\History\Models\Change\SetAssetSourcesChange\getAsset
getAsset()
Commercetools\History\Models\Change\SetAssetSourcesChange\getType
getType()
Commercetools\History\Models\Change\SetAssetSourcesChange\getChange
getChange()
Commercetools\History\Models\Change\SetAssetSourcesChange\setAsset
setAsset(?AssetChangeValue $asset)
Commercetools\History\Models\Change\SetAssetSourcesChange\getNextValue
getNextValue()
Commercetools\History\Models\Change\SetAssetSourcesChange\FIELD_PREVIOUS_VALUE
const FIELD_PREVIOUS_VALUE
Definition:
SetAssetSourcesChange.php:19
Commercetools\History\Models\Change\SetAssetSourcesChange\setPreviousValue
setPreviousValue(?AssetSourceCollection $previousValue)
Commercetools\History\Models\ChangeValue\AssetChangeValue
Definition:
AssetChangeValue.php:16
Commercetools\History\Models\Change
Definition:
AddAddressChange.php:9
Generated by
1.9.1