commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-import
src
Models
Orders
LineItemPrice.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Import\Models\Orders
;
10
11
use
Commercetools\Base\DateTimeImmutableCollection
;
12
use
Commercetools\Base\JsonObject
;
13
use
Commercetools\Import\Models\Common\ChannelKeyReference
;
14
use
Commercetools\Import\Models\Common\CustomerGroupKeyReference
;
15
use
Commercetools\Import\Models\Common\DiscountedPrice
;
16
use
Commercetools\Import\Models\Common\PriceTierCollection
;
17
use
Commercetools\Import\Models\Common\TypedMoney
;
18
use
Commercetools\Import\Models\Customfields\Custom
;
19
use DateTimeImmutable;
20
21
interface
LineItemPrice
extends
JsonObject
22
{
23
public
const
FIELD_VALUE
=
'value'
;
24
public
const
FIELD_COUNTRY
=
'country'
;
25
public
const
FIELD_VALID_FROM
=
'validFrom'
;
26
public
const
FIELD_VALID_UNTIL
=
'validUntil'
;
27
public
const
FIELD_CUSTOMER_GROUP
=
'customerGroup'
;
28
public
const
FIELD_CHANNEL
=
'channel'
;
29
public
const
FIELD_DISCOUNTED
=
'discounted'
;
30
public
const
FIELD_TIERS
=
'tiers'
;
31
public
const
FIELD_CUSTOM
=
'custom'
;
32
39
public
function
getValue
();
40
47
public
function
getCountry
();
48
55
public
function
getValidFrom
();
56
63
public
function
getValidUntil
();
64
71
public
function
getCustomerGroup
();
72
79
public
function
getChannel
();
80
87
public
function
getDiscounted
();
88
95
public
function
getTiers
();
96
103
public
function
getCustom
();
104
108
public
function
setValue
(?
TypedMoney
$value): void;
109
113
public
function
setCountry
(?
string
$country): void;
114
118
public
function
setValidFrom
(?DateTimeImmutable $validFrom): void;
119
123
public
function
setValidUntil
(?DateTimeImmutable $validUntil): void;
124
128
public
function
setCustomerGroup
(?
CustomerGroupKeyReference
$customerGroup): void;
129
133
public
function
setChannel
(?
ChannelKeyReference
$channel): void;
134
138
public
function
setDiscounted
(?
DiscountedPrice
$discounted): void;
139
143
public
function
setTiers
(?
PriceTierCollection
$tiers): void;
144
148
public
function
setCustom
(?
Custom
$custom): void;
149
}
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Import\Models\Common\PriceTierCollection
Definition:
PriceTierCollection.php:22
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Import\Models\Common\ChannelKeyReference
Definition:
ChannelKeyReference.php:15
Commercetools\Import\Models\Common\CustomerGroupKeyReference
Definition:
CustomerGroupKeyReference.php:15
Commercetools\Import\Models\Common\DiscountedPrice
Definition:
DiscountedPrice.php:15
Commercetools\Import\Models\Common\TypedMoney
Definition:
TypedMoney.php:15
Commercetools\Import\Models\Customfields\Custom
Definition:
Custom.php:16
Commercetools\Import\Models\Orders\LineItemPrice
Definition:
LineItemPrice.php:22
Commercetools\Import\Models\Orders\LineItemPrice\FIELD_VALID_UNTIL
const FIELD_VALID_UNTIL
Definition:
LineItemPrice.php:26
Commercetools\Import\Models\Orders\LineItemPrice\setValidFrom
setValidFrom(?DateTimeImmutable $validFrom)
Commercetools\Import\Models\Orders\LineItemPrice\FIELD_VALUE
const FIELD_VALUE
Definition:
LineItemPrice.php:23
Commercetools\Import\Models\Orders\LineItemPrice\getDiscounted
getDiscounted()
Commercetools\Import\Models\Orders\LineItemPrice\FIELD_TIERS
const FIELD_TIERS
Definition:
LineItemPrice.php:30
Commercetools\Import\Models\Orders\LineItemPrice\FIELD_COUNTRY
const FIELD_COUNTRY
Definition:
LineItemPrice.php:24
Commercetools\Import\Models\Orders\LineItemPrice\setValue
setValue(?TypedMoney $value)
Commercetools\Import\Models\Orders\LineItemPrice\getCountry
getCountry()
Commercetools\Import\Models\Orders\LineItemPrice\getValidUntil
getValidUntil()
Commercetools\Import\Models\Orders\LineItemPrice\setValidUntil
setValidUntil(?DateTimeImmutable $validUntil)
Commercetools\Import\Models\Orders\LineItemPrice\FIELD_DISCOUNTED
const FIELD_DISCOUNTED
Definition:
LineItemPrice.php:29
Commercetools\Import\Models\Orders\LineItemPrice\getValue
getValue()
Commercetools\Import\Models\Orders\LineItemPrice\FIELD_VALID_FROM
const FIELD_VALID_FROM
Definition:
LineItemPrice.php:25
Commercetools\Import\Models\Orders\LineItemPrice\FIELD_CUSTOMER_GROUP
const FIELD_CUSTOMER_GROUP
Definition:
LineItemPrice.php:27
Commercetools\Import\Models\Orders\LineItemPrice\FIELD_CHANNEL
const FIELD_CHANNEL
Definition:
LineItemPrice.php:28
Commercetools\Import\Models\Orders\LineItemPrice\FIELD_CUSTOM
const FIELD_CUSTOM
Definition:
LineItemPrice.php:31
Commercetools\Import\Models\Orders\LineItemPrice\setTiers
setTiers(?PriceTierCollection $tiers)
Commercetools\Import\Models\Orders\LineItemPrice\getCustomerGroup
getCustomerGroup()
Commercetools\Import\Models\Orders\LineItemPrice\setChannel
setChannel(?ChannelKeyReference $channel)
Commercetools\Import\Models\Orders\LineItemPrice\getTiers
getTiers()
Commercetools\Import\Models\Orders\LineItemPrice\getChannel
getChannel()
Commercetools\Import\Models\Orders\LineItemPrice\getCustom
getCustom()
Commercetools\Import\Models\Orders\LineItemPrice\setCustomerGroup
setCustomerGroup(?CustomerGroupKeyReference $customerGroup)
Commercetools\Import\Models\Orders\LineItemPrice\getValidFrom
getValidFrom()
Commercetools\Import\Models\Orders\LineItemPrice\setCountry
setCountry(?string $country)
Commercetools\Import\Models\Orders\LineItemPrice\setDiscounted
setDiscounted(?DiscountedPrice $discounted)
Commercetools\Import\Models\Orders\LineItemPrice\setCustom
setCustom(?Custom $custom)
Commercetools\Import\Models\Orders
Definition:
CartClassificationTier.php:9
Generated by
1.9.1