commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
Loading...
Searching...
No Matches
lib
commercetools-api
src
Models
Message
InventoryEntryQuantitySetMessage.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Models\Message
;
10
11
use
Commercetools\Api\Models\Channel\ChannelReference
;
12
use
Commercetools\Base\DateTimeImmutableCollection
;
13
use
Commercetools\Base\JsonObject
;
14
15
interface
InventoryEntryQuantitySetMessage
extends
Message
16
{
17
public
const
FIELD_OLD_QUANTITY_ON_STOCK
=
'oldQuantityOnStock'
;
18
public
const
FIELD_NEW_QUANTITY_ON_STOCK
=
'newQuantityOnStock'
;
19
public
const
FIELD_OLD_AVAILABLE_QUANTITY
=
'oldAvailableQuantity'
;
20
public
const
FIELD_NEW_AVAILABLE_QUANTITY
=
'newAvailableQuantity'
;
21
public
const
FIELD_SUPPLY_CHANNEL
=
'supplyChannel'
;
22
29
public
function
getOldQuantityOnStock
();
30
37
public
function
getNewQuantityOnStock
();
38
45
public
function
getOldAvailableQuantity
();
46
53
public
function
getNewAvailableQuantity
();
54
61
public
function
getSupplyChannel
();
62
66
public
function
setOldQuantityOnStock
(?
int
$oldQuantityOnStock): void;
67
71
public
function
setNewQuantityOnStock
(?
int
$newQuantityOnStock): void;
72
76
public
function
setOldAvailableQuantity
(?
int
$oldAvailableQuantity): void;
77
81
public
function
setNewAvailableQuantity
(?
int
$newAvailableQuantity): void;
82
86
public
function
setSupplyChannel
(?
ChannelReference
$supplyChannel): void;
87
}
Commercetools\Base\DateTimeImmutableCollection
Definition
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\Channel\ChannelReference
Definition
ChannelReference.php:16
Commercetools\Api\Models\Message\InventoryEntryQuantitySetMessage
Definition
InventoryEntryQuantitySetMessage.php:16
Commercetools\Api\Models\Message\InventoryEntryQuantitySetMessage\FIELD_OLD_QUANTITY_ON_STOCK
const FIELD_OLD_QUANTITY_ON_STOCK
Definition
InventoryEntryQuantitySetMessage.php:17
Commercetools\Api\Models\Message\InventoryEntryQuantitySetMessage\getOldQuantityOnStock
getOldQuantityOnStock()
Commercetools\Api\Models\Message\InventoryEntryQuantitySetMessage\getOldAvailableQuantity
getOldAvailableQuantity()
Commercetools\Api\Models\Message\InventoryEntryQuantitySetMessage\FIELD_OLD_AVAILABLE_QUANTITY
const FIELD_OLD_AVAILABLE_QUANTITY
Definition
InventoryEntryQuantitySetMessage.php:19
Commercetools\Api\Models\Message\InventoryEntryQuantitySetMessage\getNewQuantityOnStock
getNewQuantityOnStock()
Commercetools\Api\Models\Message\InventoryEntryQuantitySetMessage\setNewAvailableQuantity
setNewAvailableQuantity(?int $newAvailableQuantity)
Commercetools\Api\Models\Message\InventoryEntryQuantitySetMessage\FIELD_NEW_AVAILABLE_QUANTITY
const FIELD_NEW_AVAILABLE_QUANTITY
Definition
InventoryEntryQuantitySetMessage.php:20
Commercetools\Api\Models\Message\InventoryEntryQuantitySetMessage\setNewQuantityOnStock
setNewQuantityOnStock(?int $newQuantityOnStock)
Commercetools\Api\Models\Message\InventoryEntryQuantitySetMessage\setOldQuantityOnStock
setOldQuantityOnStock(?int $oldQuantityOnStock)
Commercetools\Api\Models\Message\InventoryEntryQuantitySetMessage\getNewAvailableQuantity
getNewAvailableQuantity()
Commercetools\Api\Models\Message\InventoryEntryQuantitySetMessage\FIELD_SUPPLY_CHANNEL
const FIELD_SUPPLY_CHANNEL
Definition
InventoryEntryQuantitySetMessage.php:21
Commercetools\Api\Models\Message\InventoryEntryQuantitySetMessage\FIELD_NEW_QUANTITY_ON_STOCK
const FIELD_NEW_QUANTITY_ON_STOCK
Definition
InventoryEntryQuantitySetMessage.php:18
Commercetools\Api\Models\Message\InventoryEntryQuantitySetMessage\setSupplyChannel
setSupplyChannel(?ChannelReference $supplyChannel)
Commercetools\Api\Models\Message\InventoryEntryQuantitySetMessage\setOldAvailableQuantity
setOldAvailableQuantity(?int $oldAvailableQuantity)
Commercetools\Api\Models\Message\InventoryEntryQuantitySetMessage\getSupplyChannel
getSupplyChannel()
Commercetools\Api\Models\Message\Message
Definition
Message.php:20
Commercetools\Base\JsonObject
Definition
JsonObject.php:15
Commercetools\Api\Models\Message
Definition
ApprovalFlowApprovedMessage.php:9
Generated by
1.9.8