commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-history
src
Models
Change
SetVariantAvailabilityChange.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\Common\ProductVariantAvailability
;
14
15
interface
SetVariantAvailabilityChange
extends
Change
16
{
17
18
public
const
FIELD_PREVIOUS_VALUE
=
'previousValue'
;
19
public
const
FIELD_NEXT_VALUE
=
'nextValue'
;
20
public
const
FIELD_CATALOG_DATA
=
'catalogData'
;
21
public
const
FIELD_VARIANT
=
'variant'
;
22
27
public
function
getType
();
28
33
public
function
getChange
();
34
41
public
function
getPreviousValue
();
42
49
public
function
getNextValue
();
50
60
public
function
getCatalogData
();
61
68
public
function
getVariant
();
69
73
public
function
setChange
(?
string
$change): void;
74
78
public
function
setPreviousValue
(?
ProductVariantAvailability
$previousValue): void;
79
83
public
function
setNextValue
(?
ProductVariantAvailability
$nextValue): void;
84
88
public
function
setCatalogData
(?
string
$catalogData): void;
89
93
public
function
setVariant
(?
string
$variant): void;
94
}
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\SetVariantAvailabilityChange
Definition:
SetVariantAvailabilityChange.php:16
Commercetools\History\Models\Change\SetVariantAvailabilityChange\getPreviousValue
getPreviousValue()
Commercetools\History\Models\Change\SetVariantAvailabilityChange\getNextValue
getNextValue()
Commercetools\History\Models\Change\SetVariantAvailabilityChange\setCatalogData
setCatalogData(?string $catalogData)
Commercetools\History\Models\Change\SetVariantAvailabilityChange\getType
getType()
Commercetools\History\Models\Change\SetVariantAvailabilityChange\getCatalogData
getCatalogData()
Commercetools\History\Models\Change\SetVariantAvailabilityChange\FIELD_PREVIOUS_VALUE
const FIELD_PREVIOUS_VALUE
Definition:
SetVariantAvailabilityChange.php:18
Commercetools\History\Models\Change\SetVariantAvailabilityChange\setNextValue
setNextValue(?ProductVariantAvailability $nextValue)
Commercetools\History\Models\Change\SetVariantAvailabilityChange\setVariant
setVariant(?string $variant)
Commercetools\History\Models\Change\SetVariantAvailabilityChange\FIELD_CATALOG_DATA
const FIELD_CATALOG_DATA
Definition:
SetVariantAvailabilityChange.php:20
Commercetools\History\Models\Change\SetVariantAvailabilityChange\FIELD_VARIANT
const FIELD_VARIANT
Definition:
SetVariantAvailabilityChange.php:21
Commercetools\History\Models\Change\SetVariantAvailabilityChange\getChange
getChange()
Commercetools\History\Models\Change\SetVariantAvailabilityChange\setChange
setChange(?string $change)
Commercetools\History\Models\Change\SetVariantAvailabilityChange\setPreviousValue
setPreviousValue(?ProductVariantAvailability $previousValue)
Commercetools\History\Models\Change\SetVariantAvailabilityChange\getVariant
getVariant()
Commercetools\History\Models\Change\SetVariantAvailabilityChange\FIELD_NEXT_VALUE
const FIELD_NEXT_VALUE
Definition:
SetVariantAvailabilityChange.php:19
Commercetools\History\Models\Common\ProductVariantAvailability
Definition:
ProductVariantAvailability.php:15
Commercetools\History\Models\Change
Definition:
AddAddressChange.php:9
Generated by
1.9.1