commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
Error
OverlappingStandalonePriceValidityError.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
OverlappingStandalonePriceValidityError
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
public
const
FIELD_CONFLICTING_VALID_FROM
=
'conflictingValidFrom'
;
29
public
const
FIELD_CONFLICTING_VALID_UNTIL
=
'conflictingValidUntil'
;
30
35
public
function
getCode
();
36
43
public
function
getMessage
();
44
51
public
function
getConflictingStandalonePrice
();
52
59
public
function
getSku
();
60
67
public
function
getCurrency
();
68
75
public
function
getCountry
();
76
83
public
function
getCustomerGroup
();
84
91
public
function
getChannel
();
92
99
public
function
getValidFrom
();
100
107
public
function
getValidUntil
();
108
115
public
function
getConflictingValidFrom
();
116
123
public
function
getConflictingValidUntil
();
124
128
public
function
setMessage
(?
string
$message): void;
129
133
public
function
setConflictingStandalonePrice
(?
StandalonePriceReference
$conflictingStandalonePrice): void;
134
138
public
function
setSku
(?
string
$sku): void;
139
143
public
function
setCurrency
(?
string
$currency): void;
144
148
public
function
setCountry
(?
string
$country): void;
149
153
public
function
setCustomerGroup
(?
CustomerGroupResourceIdentifier
$customerGroup): void;
154
158
public
function
setChannel
(?
ChannelResourceIdentifier
$channel): void;
159
163
public
function
setValidFrom
(?DateTimeImmutable $validFrom): void;
164
168
public
function
setValidUntil
(?DateTimeImmutable $validUntil): void;
169
173
public
function
setConflictingValidFrom
(?DateTimeImmutable $conflictingValidFrom): void;
174
178
public
function
setConflictingValidUntil
(?DateTimeImmutable $conflictingValidUntil): void;
179
}
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\ErrorObject
Definition:
ErrorObject.php:15
Commercetools\Api\Models\Error\OverlappingStandalonePriceValidityError
Definition:
OverlappingStandalonePriceValidityError.php:19
Commercetools\Api\Models\Error\OverlappingStandalonePriceValidityError\getCustomerGroup
getCustomerGroup()
Commercetools\Api\Models\Error\OverlappingStandalonePriceValidityError\FIELD_CURRENCY
const FIELD_CURRENCY
Definition:
OverlappingStandalonePriceValidityError.php:22
Commercetools\Api\Models\Error\OverlappingStandalonePriceValidityError\getValidFrom
getValidFrom()
Commercetools\Api\Models\Error\OverlappingStandalonePriceValidityError\getChannel
getChannel()
Commercetools\Api\Models\Error\OverlappingStandalonePriceValidityError\FIELD_CONFLICTING_STANDALONE_PRICE
const FIELD_CONFLICTING_STANDALONE_PRICE
Definition:
OverlappingStandalonePriceValidityError.php:20
Commercetools\Api\Models\Error\OverlappingStandalonePriceValidityError\setConflictingStandalonePrice
setConflictingStandalonePrice(?StandalonePriceReference $conflictingStandalonePrice)
Commercetools\Api\Models\Error\OverlappingStandalonePriceValidityError\FIELD_CONFLICTING_VALID_UNTIL
const FIELD_CONFLICTING_VALID_UNTIL
Definition:
OverlappingStandalonePriceValidityError.php:29
Commercetools\Api\Models\Error\OverlappingStandalonePriceValidityError\setCustomerGroup
setCustomerGroup(?CustomerGroupResourceIdentifier $customerGroup)
Commercetools\Api\Models\Error\OverlappingStandalonePriceValidityError\setChannel
setChannel(?ChannelResourceIdentifier $channel)
Commercetools\Api\Models\Error\OverlappingStandalonePriceValidityError\FIELD_VALID_UNTIL
const FIELD_VALID_UNTIL
Definition:
OverlappingStandalonePriceValidityError.php:27
Commercetools\Api\Models\Error\OverlappingStandalonePriceValidityError\setValidFrom
setValidFrom(?DateTimeImmutable $validFrom)
Commercetools\Api\Models\Error\OverlappingStandalonePriceValidityError\setConflictingValidUntil
setConflictingValidUntil(?DateTimeImmutable $conflictingValidUntil)
Commercetools\Api\Models\Error\OverlappingStandalonePriceValidityError\getSku
getSku()
Commercetools\Api\Models\Error\OverlappingStandalonePriceValidityError\getConflictingValidUntil
getConflictingValidUntil()
Commercetools\Api\Models\Error\OverlappingStandalonePriceValidityError\setCurrency
setCurrency(?string $currency)
Commercetools\Api\Models\Error\OverlappingStandalonePriceValidityError\getValidUntil
getValidUntil()
Commercetools\Api\Models\Error\OverlappingStandalonePriceValidityError\FIELD_CUSTOMER_GROUP
const FIELD_CUSTOMER_GROUP
Definition:
OverlappingStandalonePriceValidityError.php:24
Commercetools\Api\Models\Error\OverlappingStandalonePriceValidityError\FIELD_CHANNEL
const FIELD_CHANNEL
Definition:
OverlappingStandalonePriceValidityError.php:25
Commercetools\Api\Models\Error\OverlappingStandalonePriceValidityError\getMessage
getMessage()
Commercetools\Api\Models\Error\OverlappingStandalonePriceValidityError\setCountry
setCountry(?string $country)
Commercetools\Api\Models\Error\OverlappingStandalonePriceValidityError\setSku
setSku(?string $sku)
Commercetools\Api\Models\Error\OverlappingStandalonePriceValidityError\FIELD_CONFLICTING_VALID_FROM
const FIELD_CONFLICTING_VALID_FROM
Definition:
OverlappingStandalonePriceValidityError.php:28
Commercetools\Api\Models\Error\OverlappingStandalonePriceValidityError\getConflictingValidFrom
getConflictingValidFrom()
Commercetools\Api\Models\Error\OverlappingStandalonePriceValidityError\FIELD_COUNTRY
const FIELD_COUNTRY
Definition:
OverlappingStandalonePriceValidityError.php:23
Commercetools\Api\Models\Error\OverlappingStandalonePriceValidityError\FIELD_VALID_FROM
const FIELD_VALID_FROM
Definition:
OverlappingStandalonePriceValidityError.php:26
Commercetools\Api\Models\Error\OverlappingStandalonePriceValidityError\setConflictingValidFrom
setConflictingValidFrom(?DateTimeImmutable $conflictingValidFrom)
Commercetools\Api\Models\Error\OverlappingStandalonePriceValidityError\FIELD_SKU
const FIELD_SKU
Definition:
OverlappingStandalonePriceValidityError.php:21
Commercetools\Api\Models\Error\OverlappingStandalonePriceValidityError\setMessage
setMessage(?string $message)
Commercetools\Api\Models\Error\OverlappingStandalonePriceValidityError\getCurrency
getCurrency()
Commercetools\Api\Models\Error\OverlappingStandalonePriceValidityError\getCountry
getCountry()
Commercetools\Api\Models\Error\OverlappingStandalonePriceValidityError\setValidUntil
setValidUntil(?DateTimeImmutable $validUntil)
Commercetools\Api\Models\Error\OverlappingStandalonePriceValidityError\getConflictingStandalonePrice
getConflictingStandalonePrice()
Commercetools\Api\Models\Error\OverlappingStandalonePriceValidityError\getCode
getCode()
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