commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
Loading...
Searching...
No Matches
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_RESERVATION_EXPIRATION_IN_MINUTES
=
'reservationExpirationInMinutes'
;
25
public
const
FIELD_SUPPLY_CHANNEL
=
'supplyChannel'
;
26
public
const
FIELD_CUSTOM
=
'custom'
;
27
34
public
function
getKey
();
35
42
public
function
getSku
();
43
50
public
function
getQuantityOnStock
();
51
58
public
function
getRestockableInDays
();
59
66
public
function
getExpectedDelivery
();
67
74
public
function
getReservationExpirationInMinutes
();
75
82
public
function
getSupplyChannel
();
83
90
public
function
getCustom
();
91
95
public
function
setKey
(?
string
$key): void;
96
100
public
function
setSku
(?
string
$sku): void;
101
105
public
function
setQuantityOnStock
(?
int
$quantityOnStock): void;
106
110
public
function
setRestockableInDays
(?
int
$restockableInDays): void;
111
115
public
function
setExpectedDelivery
(?DateTimeImmutable $expectedDelivery): void;
116
120
public
function
setReservationExpirationInMinutes
(?
int
$reservationExpirationInMinutes): void;
121
125
public
function
setSupplyChannel
(?
ChannelKeyReference
$supplyChannel): void;
126
130
public
function
setCustom
(?
Custom
$custom): void;
131
}
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:29
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:26
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\setReservationExpirationInMinutes
setReservationExpirationInMinutes(?int $reservationExpirationInMinutes)
Commercetools\Import\Models\Inventories\InventoryImport\FIELD_SUPPLY_CHANNEL
const FIELD_SUPPLY_CHANNEL
Definition
InventoryImport.php:25
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\getReservationExpirationInMinutes
getReservationExpirationInMinutes()
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\FIELD_RESERVATION_EXPIRATION_IN_MINUTES
const FIELD_RESERVATION_EXPIRATION_IN_MINUTES
Definition
InventoryImport.php:24
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.8