commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
Error
MatchingPriceNotFoundError.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Models\Error
;
10
11
use
Commercetools\Api\Models\Channel\ChannelReference
;
12
use
Commercetools\Api\Models\CustomerGroup\CustomerGroupReference
;
13
use
Commercetools\Base\DateTimeImmutableCollection
;
14
use
Commercetools\Base\JsonObject
;
15
16
interface
MatchingPriceNotFoundError
extends
ErrorObject
17
{
18
public
const
FIELD_PRODUCT_ID
=
'productId'
;
19
public
const
FIELD_VARIANT_ID
=
'variantId'
;
20
public
const
FIELD_CURRENCY
=
'currency'
;
21
public
const
FIELD_COUNTRY
=
'country'
;
22
public
const
FIELD_CUSTOMER_GROUP
=
'customerGroup'
;
23
public
const
FIELD_CHANNEL
=
'channel'
;
24
29
public
function
getCode
();
30
37
public
function
getMessage
();
38
45
public
function
getProductId
();
46
53
public
function
getVariantId
();
54
61
public
function
getCurrency
();
62
69
public
function
getCountry
();
70
77
public
function
getCustomerGroup
();
78
85
public
function
getChannel
();
86
90
public
function
setMessage
(?
string
$message): void;
91
95
public
function
setProductId
(?
string
$productId): void;
96
100
public
function
setVariantId
(?
int
$variantId): void;
101
105
public
function
setCurrency
(?
string
$currency): void;
106
110
public
function
setCountry
(?
string
$country): void;
111
115
public
function
setCustomerGroup
(?
CustomerGroupReference
$customerGroup): void;
116
120
public
function
setChannel
(?
ChannelReference
$channel): void;
121
}
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\Channel\ChannelReference
Definition:
ChannelReference.php:16
Commercetools\Api\Models\CustomerGroup\CustomerGroupReference
Definition:
CustomerGroupReference.php:16
Commercetools\Api\Models\Error\ErrorObject
Definition:
ErrorObject.php:15
Commercetools\Api\Models\Error\MatchingPriceNotFoundError
Definition:
MatchingPriceNotFoundError.php:17
Commercetools\Api\Models\Error\MatchingPriceNotFoundError\getCode
getCode()
Commercetools\Api\Models\Error\MatchingPriceNotFoundError\getProductId
getProductId()
Commercetools\Api\Models\Error\MatchingPriceNotFoundError\FIELD_CHANNEL
const FIELD_CHANNEL
Definition:
MatchingPriceNotFoundError.php:23
Commercetools\Api\Models\Error\MatchingPriceNotFoundError\setChannel
setChannel(?ChannelReference $channel)
Commercetools\Api\Models\Error\MatchingPriceNotFoundError\setCountry
setCountry(?string $country)
Commercetools\Api\Models\Error\MatchingPriceNotFoundError\setMessage
setMessage(?string $message)
Commercetools\Api\Models\Error\MatchingPriceNotFoundError\FIELD_CUSTOMER_GROUP
const FIELD_CUSTOMER_GROUP
Definition:
MatchingPriceNotFoundError.php:22
Commercetools\Api\Models\Error\MatchingPriceNotFoundError\getCurrency
getCurrency()
Commercetools\Api\Models\Error\MatchingPriceNotFoundError\FIELD_COUNTRY
const FIELD_COUNTRY
Definition:
MatchingPriceNotFoundError.php:21
Commercetools\Api\Models\Error\MatchingPriceNotFoundError\setCurrency
setCurrency(?string $currency)
Commercetools\Api\Models\Error\MatchingPriceNotFoundError\setCustomerGroup
setCustomerGroup(?CustomerGroupReference $customerGroup)
Commercetools\Api\Models\Error\MatchingPriceNotFoundError\getVariantId
getVariantId()
Commercetools\Api\Models\Error\MatchingPriceNotFoundError\getMessage
getMessage()
Commercetools\Api\Models\Error\MatchingPriceNotFoundError\FIELD_CURRENCY
const FIELD_CURRENCY
Definition:
MatchingPriceNotFoundError.php:20
Commercetools\Api\Models\Error\MatchingPriceNotFoundError\FIELD_PRODUCT_ID
const FIELD_PRODUCT_ID
Definition:
MatchingPriceNotFoundError.php:18
Commercetools\Api\Models\Error\MatchingPriceNotFoundError\getCountry
getCountry()
Commercetools\Api\Models\Error\MatchingPriceNotFoundError\setVariantId
setVariantId(?int $variantId)
Commercetools\Api\Models\Error\MatchingPriceNotFoundError\FIELD_VARIANT_ID
const FIELD_VARIANT_ID
Definition:
MatchingPriceNotFoundError.php:19
Commercetools\Api\Models\Error\MatchingPriceNotFoundError\getCustomerGroup
getCustomerGroup()
Commercetools\Api\Models\Error\MatchingPriceNotFoundError\setProductId
setProductId(?string $productId)
Commercetools\Api\Models\Error\MatchingPriceNotFoundError\getChannel
getChannel()
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Api\Models\Error
Definition:
AnonymousIdAlreadyInUseError.php:9
Generated by
1.9.1