commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-import
src
Models
Inventories
InventoryImport.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Import\Models\Inventories
;
10
11
use
Commercetools\Base\DateTimeImmutableCollection
;
12
use
Commercetools\Base\JsonObject
;
13
use
Commercetools\Import\Models\Common\ChannelKeyReference
;
14
use
Commercetools\Import\Models\Common\ImportResource
;
15
use
Commercetools\Import\Models\Customfields\Custom
;
16
use DateTimeImmutable;
17
18
interface
InventoryImport
extends
ImportResource
19
{
20
public
const
FIELD_SKU
=
'sku'
;
21
public
const
FIELD_QUANTITY_ON_STOCK
=
'quantityOnStock'
;
22
public
const
FIELD_RESTOCKABLE_IN_DAYS
=
'restockableInDays'
;
23
public
const
FIELD_EXPECTED_DELIVERY
=
'expectedDelivery'
;
24
public
const
FIELD_SUPPLY_CHANNEL
=
'supplyChannel'
;
25
public
const
FIELD_CUSTOM
=
'custom'
;
26
33
public
function
getKey
();
34
41
public
function
getSku
();
42
49
public
function
getQuantityOnStock
();
50
57
public
function
getRestockableInDays
();
58
65
public
function
getExpectedDelivery
();
66
73
public
function
getSupplyChannel
();
74
81
public
function
getCustom
();
82
86
public
function
setKey
(?
string
$key): void;
87
91
public
function
setSku
(?
string
$sku): void;
92
96
public
function
setQuantityOnStock
(?
int
$quantityOnStock): void;
97
101
public
function
setRestockableInDays
(?
int
$restockableInDays): void;
102
106
public
function
setExpectedDelivery
(?DateTimeImmutable $expectedDelivery): void;
107
111
public
function
setSupplyChannel
(?
ChannelKeyReference
$supplyChannel): void;
112
116
public
function
setCustom
(?
Custom
$custom): void;
117
}
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Import\Models\Common\ChannelKeyReference
Definition:
ChannelKeyReference.php:15
Commercetools\Import\Models\Common\ImportResource
Definition:
ImportResource.php:26
Commercetools\Import\Models\Customfields\Custom
Definition:
Custom.php:16
Commercetools\Import\Models\Inventories\InventoryImport
Definition:
InventoryImport.php:19
Commercetools\Import\Models\Inventories\InventoryImport\getQuantityOnStock
getQuantityOnStock()
Commercetools\Import\Models\Inventories\InventoryImport\getSku
getSku()
Commercetools\Import\Models\Inventories\InventoryImport\FIELD_CUSTOM
const FIELD_CUSTOM
Definition:
InventoryImport.php:25
Commercetools\Import\Models\Inventories\InventoryImport\setSku
setSku(?string $sku)
Commercetools\Import\Models\Inventories\InventoryImport\getSupplyChannel
getSupplyChannel()
Commercetools\Import\Models\Inventories\InventoryImport\setRestockableInDays
setRestockableInDays(?int $restockableInDays)
Commercetools\Import\Models\Inventories\InventoryImport\FIELD_SUPPLY_CHANNEL
const FIELD_SUPPLY_CHANNEL
Definition:
InventoryImport.php:24
Commercetools\Import\Models\Inventories\InventoryImport\FIELD_QUANTITY_ON_STOCK
const FIELD_QUANTITY_ON_STOCK
Definition:
InventoryImport.php:21
Commercetools\Import\Models\Inventories\InventoryImport\setSupplyChannel
setSupplyChannel(?ChannelKeyReference $supplyChannel)
Commercetools\Import\Models\Inventories\InventoryImport\setCustom
setCustom(?Custom $custom)
Commercetools\Import\Models\Inventories\InventoryImport\getCustom
getCustom()
Commercetools\Import\Models\Inventories\InventoryImport\setExpectedDelivery
setExpectedDelivery(?DateTimeImmutable $expectedDelivery)
Commercetools\Import\Models\Inventories\InventoryImport\getKey
getKey()
Commercetools\Import\Models\Inventories\InventoryImport\getExpectedDelivery
getExpectedDelivery()
Commercetools\Import\Models\Inventories\InventoryImport\FIELD_EXPECTED_DELIVERY
const FIELD_EXPECTED_DELIVERY
Definition:
InventoryImport.php:23
Commercetools\Import\Models\Inventories\InventoryImport\setQuantityOnStock
setQuantityOnStock(?int $quantityOnStock)
Commercetools\Import\Models\Inventories\InventoryImport\FIELD_SKU
const FIELD_SKU
Definition:
InventoryImport.php:20
Commercetools\Import\Models\Inventories\InventoryImport\setKey
setKey(?string $key)
Commercetools\Import\Models\Inventories\InventoryImport\getRestockableInDays
getRestockableInDays()
Commercetools\Import\Models\Inventories\InventoryImport\FIELD_RESTOCKABLE_IN_DAYS
const FIELD_RESTOCKABLE_IN_DAYS
Definition:
InventoryImport.php:22
Commercetools\Import\Models\Inventories
Definition:
InventoryImport.php:9
Generated by
1.9.1