commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
ProductDiscount
ProductDiscountMatchQuery.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Models\ProductDiscount
;
10
11
use
Commercetools\Api\Models\Common\QueryPrice
;
12
use
Commercetools\Base\DateTimeImmutableCollection
;
13
use
Commercetools\Base\JsonObject
;
14
15
interface
ProductDiscountMatchQuery
extends
JsonObject
16
{
17
public
const
FIELD_PRODUCT_ID
=
'productId'
;
18
public
const
FIELD_VARIANT_ID
=
'variantId'
;
19
public
const
FIELD_STAGED
=
'staged'
;
20
public
const
FIELD_PRICE
=
'price'
;
21
28
public
function
getProductId
();
29
36
public
function
getVariantId
();
37
45
public
function
getStaged
();
46
53
public
function
getPrice
();
54
58
public
function
setProductId
(?
string
$productId): void;
59
63
public
function
setVariantId
(?
int
$variantId): void;
64
68
public
function
setStaged
(?
bool
$staged): void;
69
73
public
function
setPrice
(?
QueryPrice
$price): void;
74
}
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\Common\QueryPrice
Definition:
QueryPrice.php:19
Commercetools\Api\Models\ProductDiscount\ProductDiscountMatchQuery
Definition:
ProductDiscountMatchQuery.php:16
Commercetools\Api\Models\ProductDiscount\ProductDiscountMatchQuery\getVariantId
getVariantId()
Commercetools\Api\Models\ProductDiscount\ProductDiscountMatchQuery\FIELD_PRODUCT_ID
const FIELD_PRODUCT_ID
Definition:
ProductDiscountMatchQuery.php:17
Commercetools\Api\Models\ProductDiscount\ProductDiscountMatchQuery\getStaged
getStaged()
Commercetools\Api\Models\ProductDiscount\ProductDiscountMatchQuery\FIELD_PRICE
const FIELD_PRICE
Definition:
ProductDiscountMatchQuery.php:20
Commercetools\Api\Models\ProductDiscount\ProductDiscountMatchQuery\getPrice
getPrice()
Commercetools\Api\Models\ProductDiscount\ProductDiscountMatchQuery\getProductId
getProductId()
Commercetools\Api\Models\ProductDiscount\ProductDiscountMatchQuery\FIELD_STAGED
const FIELD_STAGED
Definition:
ProductDiscountMatchQuery.php:19
Commercetools\Api\Models\ProductDiscount\ProductDiscountMatchQuery\setProductId
setProductId(?string $productId)
Commercetools\Api\Models\ProductDiscount\ProductDiscountMatchQuery\setVariantId
setVariantId(?int $variantId)
Commercetools\Api\Models\ProductDiscount\ProductDiscountMatchQuery\FIELD_VARIANT_ID
const FIELD_VARIANT_ID
Definition:
ProductDiscountMatchQuery.php:18
Commercetools\Api\Models\ProductDiscount\ProductDiscountMatchQuery\setStaged
setStaged(?bool $staged)
Commercetools\Api\Models\ProductDiscount\ProductDiscountMatchQuery\setPrice
setPrice(?QueryPrice $price)
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Api\Models\ProductDiscount
Definition:
ProductDiscount.php:9
Generated by
1.9.1