commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
Error
DuplicatePriceKeyError.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Models\Error
;
10
11
use
Commercetools\Api\Models\Common\Price
;
12
use
Commercetools\Base\DateTimeImmutableCollection
;
13
use
Commercetools\Base\JsonObject
;
14
15
interface
DuplicatePriceKeyError
extends
ErrorObject
16
{
17
public
const
FIELD_CONFLICTING_PRICE
=
'conflictingPrice'
;
18
23
public
function
getCode
();
24
31
public
function
getMessage
();
32
39
public
function
getConflictingPrice
();
40
44
public
function
setMessage
(?
string
$message): void;
45
49
public
function
setConflictingPrice
(?
Price
$conflictingPrice): void;
50
}
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\Common\Price
Definition:
Price.php:19
Commercetools\Api\Models\Error\DuplicatePriceKeyError
Definition:
DuplicatePriceKeyError.php:16
Commercetools\Api\Models\Error\DuplicatePriceKeyError\getCode
getCode()
Commercetools\Api\Models\Error\DuplicatePriceKeyError\FIELD_CONFLICTING_PRICE
const FIELD_CONFLICTING_PRICE
Definition:
DuplicatePriceKeyError.php:17
Commercetools\Api\Models\Error\DuplicatePriceKeyError\getConflictingPrice
getConflictingPrice()
Commercetools\Api\Models\Error\DuplicatePriceKeyError\setConflictingPrice
setConflictingPrice(?Price $conflictingPrice)
Commercetools\Api\Models\Error\DuplicatePriceKeyError\getMessage
getMessage()
Commercetools\Api\Models\Error\DuplicatePriceKeyError\setMessage
setMessage(?string $message)
Commercetools\Api\Models\Error\ErrorObject
Definition:
ErrorObject.php:15
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Api\Models\Error
Definition:
AnonymousIdAlreadyInUseError.php:9
Generated by
1.9.1