commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-import
src
Models
Productvariants
ProductVariantPatch.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Import\Models\Productvariants
;
10
11
use
Commercetools\Base\DateTimeImmutableCollection
;
12
use
Commercetools\Base\JsonObject
;
13
use
Commercetools\Import\Models\Common\ProductKeyReference
;
14
use
Commercetools\Import\Models\Common\ProductVariantKeyReference
;
15
16
interface
ProductVariantPatch
extends
JsonObject
17
{
18
public
const
FIELD_PRODUCT_VARIANT
=
'productVariant'
;
19
public
const
FIELD_ATTRIBUTES
=
'attributes'
;
20
public
const
FIELD_STAGED
=
'staged'
;
21
public
const
FIELD_PRODUCT
=
'product'
;
22
30
public
function
getProductVariant
();
31
44
public
function
getAttributes
();
45
52
public
function
getStaged
();
53
60
public
function
getProduct
();
61
65
public
function
setProductVariant
(?
ProductVariantKeyReference
$productVariant): void;
66
70
public
function
setAttributes
(?
Attributes
$attributes): void;
71
75
public
function
setStaged
(?
bool
$staged): void;
76
80
public
function
setProduct
(?
ProductKeyReference
$product): void;
81
}
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Import\Models\Common\ProductKeyReference
Definition:
ProductKeyReference.php:15
Commercetools\Import\Models\Common\ProductVariantKeyReference
Definition:
ProductVariantKeyReference.php:15
Commercetools\Import\Models\Productvariants\Attributes
Definition:
Attributes.php:15
Commercetools\Import\Models\Productvariants\ProductVariantPatch
Definition:
ProductVariantPatch.php:17
Commercetools\Import\Models\Productvariants\ProductVariantPatch\FIELD_ATTRIBUTES
const FIELD_ATTRIBUTES
Definition:
ProductVariantPatch.php:19
Commercetools\Import\Models\Productvariants\ProductVariantPatch\setProductVariant
setProductVariant(?ProductVariantKeyReference $productVariant)
Commercetools\Import\Models\Productvariants\ProductVariantPatch\FIELD_PRODUCT
const FIELD_PRODUCT
Definition:
ProductVariantPatch.php:21
Commercetools\Import\Models\Productvariants\ProductVariantPatch\getProduct
getProduct()
Commercetools\Import\Models\Productvariants\ProductVariantPatch\getProductVariant
getProductVariant()
Commercetools\Import\Models\Productvariants\ProductVariantPatch\FIELD_PRODUCT_VARIANT
const FIELD_PRODUCT_VARIANT
Definition:
ProductVariantPatch.php:18
Commercetools\Import\Models\Productvariants\ProductVariantPatch\setStaged
setStaged(?bool $staged)
Commercetools\Import\Models\Productvariants\ProductVariantPatch\setAttributes
setAttributes(?Attributes $attributes)
Commercetools\Import\Models\Productvariants\ProductVariantPatch\getStaged
getStaged()
Commercetools\Import\Models\Productvariants\ProductVariantPatch\setProduct
setProduct(?ProductKeyReference $product)
Commercetools\Import\Models\Productvariants\ProductVariantPatch\FIELD_STAGED
const FIELD_STAGED
Definition:
ProductVariantPatch.php:20
Commercetools\Import\Models\Productvariants\ProductVariantPatch\getAttributes
getAttributes()
Commercetools\Import\Models\Productvariants
Definition:
Attribute.php:9
Generated by
1.9.1