commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
Error
DuplicateStandalonePriceScopeError.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Models\Error
;
10
11
use
Commercetools\Api\Models\Channel\ChannelResourceIdentifier
;
12
use
Commercetools\Api\Models\CustomerGroup\CustomerGroupResourceIdentifier
;
13
use
Commercetools\Api\Models\StandalonePrice\StandalonePriceReference
;
14
use
Commercetools\Base\DateTimeImmutableCollection
;
15
use
Commercetools\Base\JsonObject
;
16
use DateTimeImmutable;
17
18
interface
DuplicateStandalonePriceScopeError
extends
ErrorObject
19
{
20
public
const
FIELD_CONFLICTING_STANDALONE_PRICE
=
'conflictingStandalonePrice'
;
21
public
const
FIELD_SKU
=
'sku'
;
22
public
const
FIELD_CURRENCY
=
'currency'
;
23
public
const
FIELD_COUNTRY
=
'country'
;
24
public
const
FIELD_CUSTOMER_GROUP
=
'customerGroup'
;
25
public
const
FIELD_CHANNEL
=
'channel'
;
26
public
const
FIELD_VALID_FROM
=
'validFrom'
;
27
public
const
FIELD_VALID_UNTIL
=
'validUntil'
;
28
33
public
function
getCode
();
34
41
public
function
getMessage
();
42
49
public
function
getConflictingStandalonePrice
();
50
57
public
function
getSku
();
58
65
public
function
getCurrency
();
66
73
public
function
getCountry
();
74
81
public
function
getCustomerGroup
();
82
89
public
function
getChannel
();
90
97
public
function
getValidFrom
();
98
105
public
function
getValidUntil
();
106
110
public
function
setMessage
(?
string
$message): void;
111
115
public
function
setConflictingStandalonePrice
(?
StandalonePriceReference
$conflictingStandalonePrice): void;
116
120
public
function
setSku
(?
string
$sku): void;
121
125
public
function
setCurrency
(?
string
$currency): void;
126
130
public
function
setCountry
(?
string
$country): void;
131
135
public
function
setCustomerGroup
(?
CustomerGroupResourceIdentifier
$customerGroup): void;
136
140
public
function
setChannel
(?
ChannelResourceIdentifier
$channel): void;
141
145
public
function
setValidFrom
(?DateTimeImmutable $validFrom): void;
146
150
public
function
setValidUntil
(?DateTimeImmutable $validUntil): void;
151
}
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\Channel\ChannelResourceIdentifier
Definition:
ChannelResourceIdentifier.php:16
Commercetools\Api\Models\CustomerGroup\CustomerGroupResourceIdentifier
Definition:
CustomerGroupResourceIdentifier.php:16
Commercetools\Api\Models\Error\DuplicateStandalonePriceScopeError
Definition:
DuplicateStandalonePriceScopeError.php:19
Commercetools\Api\Models\Error\DuplicateStandalonePriceScopeError\setConflictingStandalonePrice
setConflictingStandalonePrice(?StandalonePriceReference $conflictingStandalonePrice)
Commercetools\Api\Models\Error\DuplicateStandalonePriceScopeError\getCode
getCode()
Commercetools\Api\Models\Error\DuplicateStandalonePriceScopeError\getMessage
getMessage()
Commercetools\Api\Models\Error\DuplicateStandalonePriceScopeError\setValidFrom
setValidFrom(?DateTimeImmutable $validFrom)
Commercetools\Api\Models\Error\DuplicateStandalonePriceScopeError\FIELD_CUSTOMER_GROUP
const FIELD_CUSTOMER_GROUP
Definition:
DuplicateStandalonePriceScopeError.php:24
Commercetools\Api\Models\Error\DuplicateStandalonePriceScopeError\FIELD_VALID_UNTIL
const FIELD_VALID_UNTIL
Definition:
DuplicateStandalonePriceScopeError.php:27
Commercetools\Api\Models\Error\DuplicateStandalonePriceScopeError\FIELD_COUNTRY
const FIELD_COUNTRY
Definition:
DuplicateStandalonePriceScopeError.php:23
Commercetools\Api\Models\Error\DuplicateStandalonePriceScopeError\getConflictingStandalonePrice
getConflictingStandalonePrice()
Commercetools\Api\Models\Error\DuplicateStandalonePriceScopeError\getCustomerGroup
getCustomerGroup()
Commercetools\Api\Models\Error\DuplicateStandalonePriceScopeError\getSku
getSku()
Commercetools\Api\Models\Error\DuplicateStandalonePriceScopeError\getCurrency
getCurrency()
Commercetools\Api\Models\Error\DuplicateStandalonePriceScopeError\setMessage
setMessage(?string $message)
Commercetools\Api\Models\Error\DuplicateStandalonePriceScopeError\getValidFrom
getValidFrom()
Commercetools\Api\Models\Error\DuplicateStandalonePriceScopeError\setCustomerGroup
setCustomerGroup(?CustomerGroupResourceIdentifier $customerGroup)
Commercetools\Api\Models\Error\DuplicateStandalonePriceScopeError\getValidUntil
getValidUntil()
Commercetools\Api\Models\Error\DuplicateStandalonePriceScopeError\getChannel
getChannel()
Commercetools\Api\Models\Error\DuplicateStandalonePriceScopeError\FIELD_CURRENCY
const FIELD_CURRENCY
Definition:
DuplicateStandalonePriceScopeError.php:22
Commercetools\Api\Models\Error\DuplicateStandalonePriceScopeError\FIELD_CHANNEL
const FIELD_CHANNEL
Definition:
DuplicateStandalonePriceScopeError.php:25
Commercetools\Api\Models\Error\DuplicateStandalonePriceScopeError\setValidUntil
setValidUntil(?DateTimeImmutable $validUntil)
Commercetools\Api\Models\Error\DuplicateStandalonePriceScopeError\setCountry
setCountry(?string $country)
Commercetools\Api\Models\Error\DuplicateStandalonePriceScopeError\setSku
setSku(?string $sku)
Commercetools\Api\Models\Error\DuplicateStandalonePriceScopeError\getCountry
getCountry()
Commercetools\Api\Models\Error\DuplicateStandalonePriceScopeError\setCurrency
setCurrency(?string $currency)
Commercetools\Api\Models\Error\DuplicateStandalonePriceScopeError\setChannel
setChannel(?ChannelResourceIdentifier $channel)
Commercetools\Api\Models\Error\DuplicateStandalonePriceScopeError\FIELD_SKU
const FIELD_SKU
Definition:
DuplicateStandalonePriceScopeError.php:21
Commercetools\Api\Models\Error\DuplicateStandalonePriceScopeError\FIELD_CONFLICTING_STANDALONE_PRICE
const FIELD_CONFLICTING_STANDALONE_PRICE
Definition:
DuplicateStandalonePriceScopeError.php:20
Commercetools\Api\Models\Error\DuplicateStandalonePriceScopeError\FIELD_VALID_FROM
const FIELD_VALID_FROM
Definition:
DuplicateStandalonePriceScopeError.php:26
Commercetools\Api\Models\Error\ErrorObject
Definition:
ErrorObject.php:15
Commercetools\Api\Models\StandalonePrice\StandalonePriceReference
Definition:
StandalonePriceReference.php:16
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Api\Models\Error
Definition:
AnonymousIdAlreadyInUseError.php:9
Generated by
1.9.1