commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
Store
ProductSelectionSettingDraft.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Models\Store
;
10
11
use
Commercetools\Api\Models\ProductSelection\ProductSelectionResourceIdentifier
;
12
use
Commercetools\Base\DateTimeImmutableCollection
;
13
use
Commercetools\Base\JsonObject
;
14
15
interface
ProductSelectionSettingDraft
extends
JsonObject
16
{
17
public
const
FIELD_PRODUCT_SELECTION
=
'productSelection'
;
18
public
const
FIELD_ACTIVE
=
'active'
;
19
26
public
function
getProductSelection
();
27
34
public
function
getActive
();
35
39
public
function
setProductSelection
(?
ProductSelectionResourceIdentifier
$productSelection): void;
40
44
public
function
setActive
(?
bool
$active): void;
45
}
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\ProductSelection\ProductSelectionResourceIdentifier
Definition:
ProductSelectionResourceIdentifier.php:16
Commercetools\Api\Models\Store\ProductSelectionSettingDraft
Definition:
ProductSelectionSettingDraft.php:16
Commercetools\Api\Models\Store\ProductSelectionSettingDraft\setActive
setActive(?bool $active)
Commercetools\Api\Models\Store\ProductSelectionSettingDraft\FIELD_ACTIVE
const FIELD_ACTIVE
Definition:
ProductSelectionSettingDraft.php:18
Commercetools\Api\Models\Store\ProductSelectionSettingDraft\getActive
getActive()
Commercetools\Api\Models\Store\ProductSelectionSettingDraft\FIELD_PRODUCT_SELECTION
const FIELD_PRODUCT_SELECTION
Definition:
ProductSelectionSettingDraft.php:17
Commercetools\Api\Models\Store\ProductSelectionSettingDraft\getProductSelection
getProductSelection()
Commercetools\Api\Models\Store\ProductSelectionSettingDraft\setProductSelection
setProductSelection(?ProductSelectionResourceIdentifier $productSelection)
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Api\Models\Store
Definition:
ProductSelectionSetting.php:9
Generated by
1.9.1