commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
Common
QueryPrice.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Models\Common
;
10
11
use
Commercetools\Api\Models\Channel\ChannelReference
;
12
use
Commercetools\Api\Models\CustomerGroup\CustomerGroupReference
;
13
use
Commercetools\Api\Models\Type\CustomFields
;
14
use
Commercetools\Base\DateTimeImmutableCollection
;
15
use
Commercetools\Base\JsonObject
;
16
use DateTimeImmutable;
17
18
interface
QueryPrice
extends
JsonObject
19
{
20
public
const
FIELD_ID
=
'id'
;
21
public
const
FIELD_VALUE
=
'value'
;
22
public
const
FIELD_COUNTRY
=
'country'
;
23
public
const
FIELD_CUSTOMER_GROUP
=
'customerGroup'
;
24
public
const
FIELD_CHANNEL
=
'channel'
;
25
public
const
FIELD_VALID_FROM
=
'validFrom'
;
26
public
const
FIELD_VALID_UNTIL
=
'validUntil'
;
27
public
const
FIELD_DISCOUNTED
=
'discounted'
;
28
public
const
FIELD_CUSTOM
=
'custom'
;
29
public
const
FIELD_TIERS
=
'tiers'
;
30
37
public
function
getId
();
38
45
public
function
getValue
();
46
53
public
function
getCountry
();
54
61
public
function
getCustomerGroup
();
62
69
public
function
getChannel
();
70
77
public
function
getValidFrom
();
78
85
public
function
getValidUntil
();
86
93
public
function
getDiscounted
();
94
101
public
function
getCustom
();
102
110
public
function
getTiers
();
111
115
public
function
setId
(?
string
$id): void;
116
120
public
function
setValue
(?
Money
$value): void;
121
125
public
function
setCountry
(?
string
$country): void;
126
130
public
function
setCustomerGroup
(?
CustomerGroupReference
$customerGroup): void;
131
135
public
function
setChannel
(?
ChannelReference
$channel): void;
136
140
public
function
setValidFrom
(?DateTimeImmutable $validFrom): void;
141
145
public
function
setValidUntil
(?DateTimeImmutable $validUntil): void;
146
150
public
function
setDiscounted
(?
DiscountedPriceDraft
$discounted): void;
151
155
public
function
setCustom
(?
CustomFields
$custom): void;
156
160
public
function
setTiers
(?
PriceTierDraftCollection
$tiers): void;
161
}
Commercetools\Api\Models\Common\PriceTierDraftCollection
Definition:
PriceTierDraftCollection.php:22
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\Channel\ChannelReference
Definition:
ChannelReference.php:16
Commercetools\Api\Models\Common\DiscountedPriceDraft
Definition:
DiscountedPriceDraft.php:16
Commercetools\Api\Models\Common\Money
Definition:
Money.php:15
Commercetools\Api\Models\Common\QueryPrice
Definition:
QueryPrice.php:19
Commercetools\Api\Models\Common\QueryPrice\getCountry
getCountry()
Commercetools\Api\Models\Common\QueryPrice\FIELD_VALID_FROM
const FIELD_VALID_FROM
Definition:
QueryPrice.php:25
Commercetools\Api\Models\Common\QueryPrice\FIELD_ID
const FIELD_ID
Definition:
QueryPrice.php:20
Commercetools\Api\Models\Common\QueryPrice\FIELD_TIERS
const FIELD_TIERS
Definition:
QueryPrice.php:29
Commercetools\Api\Models\Common\QueryPrice\FIELD_VALID_UNTIL
const FIELD_VALID_UNTIL
Definition:
QueryPrice.php:26
Commercetools\Api\Models\Common\QueryPrice\FIELD_DISCOUNTED
const FIELD_DISCOUNTED
Definition:
QueryPrice.php:27
Commercetools\Api\Models\Common\QueryPrice\FIELD_CUSTOMER_GROUP
const FIELD_CUSTOMER_GROUP
Definition:
QueryPrice.php:23
Commercetools\Api\Models\Common\QueryPrice\setValidFrom
setValidFrom(?DateTimeImmutable $validFrom)
Commercetools\Api\Models\Common\QueryPrice\getValue
getValue()
Commercetools\Api\Models\Common\QueryPrice\getCustom
getCustom()
Commercetools\Api\Models\Common\QueryPrice\FIELD_CUSTOM
const FIELD_CUSTOM
Definition:
QueryPrice.php:28
Commercetools\Api\Models\Common\QueryPrice\setTiers
setTiers(?PriceTierDraftCollection $tiers)
Commercetools\Api\Models\Common\QueryPrice\FIELD_CHANNEL
const FIELD_CHANNEL
Definition:
QueryPrice.php:24
Commercetools\Api\Models\Common\QueryPrice\FIELD_VALUE
const FIELD_VALUE
Definition:
QueryPrice.php:21
Commercetools\Api\Models\Common\QueryPrice\getTiers
getTiers()
Commercetools\Api\Models\Common\QueryPrice\getId
getId()
Commercetools\Api\Models\Common\QueryPrice\getChannel
getChannel()
Commercetools\Api\Models\Common\QueryPrice\getValidFrom
getValidFrom()
Commercetools\Api\Models\Common\QueryPrice\getCustomerGroup
getCustomerGroup()
Commercetools\Api\Models\Common\QueryPrice\setCustom
setCustom(?CustomFields $custom)
Commercetools\Api\Models\Common\QueryPrice\setCountry
setCountry(?string $country)
Commercetools\Api\Models\Common\QueryPrice\setValue
setValue(?Money $value)
Commercetools\Api\Models\Common\QueryPrice\setCustomerGroup
setCustomerGroup(?CustomerGroupReference $customerGroup)
Commercetools\Api\Models\Common\QueryPrice\getValidUntil
getValidUntil()
Commercetools\Api\Models\Common\QueryPrice\setDiscounted
setDiscounted(?DiscountedPriceDraft $discounted)
Commercetools\Api\Models\Common\QueryPrice\getDiscounted
getDiscounted()
Commercetools\Api\Models\Common\QueryPrice\setId
setId(?string $id)
Commercetools\Api\Models\Common\QueryPrice\FIELD_COUNTRY
const FIELD_COUNTRY
Definition:
QueryPrice.php:22
Commercetools\Api\Models\Common\QueryPrice\setChannel
setChannel(?ChannelReference $channel)
Commercetools\Api\Models\Common\QueryPrice\setValidUntil
setValidUntil(?DateTimeImmutable $validUntil)
Commercetools\Api\Models\CustomerGroup\CustomerGroupReference
Definition:
CustomerGroupReference.php:16
Commercetools\Api\Models\Type\CustomFields
Definition:
CustomFields.php:15
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Api\Models\Common
Definition:
Address.php:9
Generated by
1.9.1