commercetools-sdk-php-v2
master
The platform, import-api and ml-api PHP sdks generated from our api reference.
|
Public Member Functions | |
getSku () | |
getKey () | |
getSupplyChannel () | |
getQuantityOnStock () | |
getRestockableInDays () | |
getExpectedDelivery () | |
getCustom () | |
setSku (?string $sku) | |
setKey (?string $key) | |
setSupplyChannel (?ChannelResourceIdentifier $supplyChannel) | |
setQuantityOnStock (?int $quantityOnStock) | |
setRestockableInDays (?int $restockableInDays) | |
setExpectedDelivery (?DateTimeImmutable $expectedDelivery) | |
setCustom (?CustomFieldsDraft $custom) | |
Public Member Functions inherited from Commercetools\Base\JsonObject | |
get (string $field) | |
with (callable $callable=null) | |
Public Attributes | |
const | FIELD_SKU = 'sku' |
const | FIELD_KEY = 'key' |
const | FIELD_SUPPLY_CHANNEL = 'supplyChannel' |
const | FIELD_QUANTITY_ON_STOCK = 'quantityOnStock' |
const | FIELD_RESTOCKABLE_IN_DAYS = 'restockableInDays' |
const | FIELD_EXPECTED_DELIVERY = 'expectedDelivery' |
const | FIELD_CUSTOM = 'custom' |
Additional Inherited Members | |
Static Public Member Functions inherited from Commercetools\Base\JsonObject | |
static | of ($data=null) |
static | fromArray (array $data=[]) |
static | fromStdClass (stdClass $data=null) |
Definition at line 17 of file InventoryEntryDraft.php.
Commercetools\Api\Models\Inventory\InventoryEntryDraft::getCustom | ( | ) |
Custom Fields of the InventoryEntry.
Implemented in Commercetools\Api\Models\Inventory\InventoryEntryDraftModel.
Commercetools\Api\Models\Inventory\InventoryEntryDraft::getExpectedDelivery | ( | ) |
Date and time of the next restock.
Implemented in Commercetools\Api\Models\Inventory\InventoryEntryDraftModel.
Commercetools\Api\Models\Inventory\InventoryEntryDraft::getKey | ( | ) |
User-defined unique identifier for the InventoryEntry.
Implemented in Commercetools\Api\Models\Inventory\InventoryEntryDraftModel.
Commercetools\Api\Models\Inventory\InventoryEntryDraft::getQuantityOnStock | ( | ) |
Overall amount of stock.
Implemented in Commercetools\Api\Models\Inventory\InventoryEntryDraftModel.
Commercetools\Api\Models\Inventory\InventoryEntryDraft::getRestockableInDays | ( | ) |
How often the InventoryEntry is restocked (in days).
Implemented in Commercetools\Api\Models\Inventory\InventoryEntryDraftModel.
Commercetools\Api\Models\Inventory\InventoryEntryDraft::getSku | ( | ) |
ProductVariant sku
of the InventoryEntry.
Implemented in Commercetools\Api\Models\Inventory\InventoryEntryDraftModel.
Commercetools\Api\Models\Inventory\InventoryEntryDraft::getSupplyChannel | ( | ) |
Channel that supplies this InventoryEntry.
Implemented in Commercetools\Api\Models\Inventory\InventoryEntryDraftModel.
Commercetools\Api\Models\Inventory\InventoryEntryDraft::setCustom | ( | ?CustomFieldsDraft | $custom | ) |
?CustomFieldsDraft | $custom |
Implemented in Commercetools\Api\Models\Inventory\InventoryEntryDraftModel.
Commercetools\Api\Models\Inventory\InventoryEntryDraft::setExpectedDelivery | ( | ?DateTimeImmutable | $expectedDelivery | ) |
?DateTimeImmutable | $expectedDelivery |
Implemented in Commercetools\Api\Models\Inventory\InventoryEntryDraftModel.
Commercetools\Api\Models\Inventory\InventoryEntryDraft::setKey | ( | ?string | $key | ) |
?string | $key |
Implemented in Commercetools\Api\Models\Inventory\InventoryEntryDraftModel.
Commercetools\Api\Models\Inventory\InventoryEntryDraft::setQuantityOnStock | ( | ?int | $quantityOnStock | ) |
?int | $quantityOnStock |
Implemented in Commercetools\Api\Models\Inventory\InventoryEntryDraftModel.
Commercetools\Api\Models\Inventory\InventoryEntryDraft::setRestockableInDays | ( | ?int | $restockableInDays | ) |
?int | $restockableInDays |
Implemented in Commercetools\Api\Models\Inventory\InventoryEntryDraftModel.
Commercetools\Api\Models\Inventory\InventoryEntryDraft::setSku | ( | ?string | $sku | ) |
?string | $sku |
Implemented in Commercetools\Api\Models\Inventory\InventoryEntryDraftModel.
Commercetools\Api\Models\Inventory\InventoryEntryDraft::setSupplyChannel | ( | ?ChannelResourceIdentifier | $supplyChannel | ) |
?ChannelResourceIdentifier | $supplyChannel |
Implemented in Commercetools\Api\Models\Inventory\InventoryEntryDraftModel.
const Commercetools\Api\Models\Inventory\InventoryEntryDraft::FIELD_CUSTOM = 'custom' |
Definition at line 25 of file InventoryEntryDraft.php.
const Commercetools\Api\Models\Inventory\InventoryEntryDraft::FIELD_EXPECTED_DELIVERY = 'expectedDelivery' |
Definition at line 24 of file InventoryEntryDraft.php.
const Commercetools\Api\Models\Inventory\InventoryEntryDraft::FIELD_KEY = 'key' |
Definition at line 20 of file InventoryEntryDraft.php.
const Commercetools\Api\Models\Inventory\InventoryEntryDraft::FIELD_QUANTITY_ON_STOCK = 'quantityOnStock' |
Definition at line 22 of file InventoryEntryDraft.php.
const Commercetools\Api\Models\Inventory\InventoryEntryDraft::FIELD_RESTOCKABLE_IN_DAYS = 'restockableInDays' |
Definition at line 23 of file InventoryEntryDraft.php.
const Commercetools\Api\Models\Inventory\InventoryEntryDraft::FIELD_SKU = 'sku' |
Definition at line 19 of file InventoryEntryDraft.php.
const Commercetools\Api\Models\Inventory\InventoryEntryDraft::FIELD_SUPPLY_CHANNEL = 'supplyChannel' |
Definition at line 21 of file InventoryEntryDraft.php.