commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-history
src
Models
ChangeValue
InventoryQuantityValue.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\History\Models\ChangeValue
;
10
11
use
Commercetools\Base\JsonObject
;
12
use
Commercetools\Base\DateTimeImmutableCollection
;
13
14
interface
InventoryQuantityValue
extends
JsonObject
15
{
16
17
public
const
FIELD_QUANTITY_ON_STOCK
=
'quantityOnStock'
;
18
public
const
FIELD_AVAILABLE_QUANTITY
=
'availableQuantity'
;
19
26
public
function
getQuantityOnStock
();
27
34
public
function
getAvailableQuantity
();
35
39
public
function
setQuantityOnStock
(?
int
$quantityOnStock): void;
40
44
public
function
setAvailableQuantity
(?
int
$availableQuantity): void;
45
}
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\History\Models\ChangeValue\InventoryQuantityValue
Definition:
InventoryQuantityValue.php:15
Commercetools\History\Models\ChangeValue\InventoryQuantityValue\setAvailableQuantity
setAvailableQuantity(?int $availableQuantity)
Commercetools\History\Models\ChangeValue\InventoryQuantityValue\setQuantityOnStock
setQuantityOnStock(?int $quantityOnStock)
Commercetools\History\Models\ChangeValue\InventoryQuantityValue\FIELD_QUANTITY_ON_STOCK
const FIELD_QUANTITY_ON_STOCK
Definition:
InventoryQuantityValue.php:17
Commercetools\History\Models\ChangeValue\InventoryQuantityValue\getAvailableQuantity
getAvailableQuantity()
Commercetools\History\Models\ChangeValue\InventoryQuantityValue\getQuantityOnStock
getQuantityOnStock()
Commercetools\History\Models\ChangeValue\InventoryQuantityValue\FIELD_AVAILABLE_QUANTITY
const FIELD_AVAILABLE_QUANTITY
Definition:
InventoryQuantityValue.php:18
Commercetools\History\Models\ChangeValue
Definition:
AssetChangeValue.php:9
Generated by
1.9.1