commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
Cart
ExternalLineItemTotalPrice.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Models\Cart
;
10
11
use
Commercetools\Api\Models\Common\Money
;
12
use
Commercetools\Base\DateTimeImmutableCollection
;
13
use
Commercetools\Base\JsonObject
;
14
15
interface
ExternalLineItemTotalPrice
extends
JsonObject
16
{
17
public
const
FIELD_PRICE
=
'price'
;
18
public
const
FIELD_TOTAL_PRICE
=
'totalPrice'
;
19
26
public
function
getPrice
();
27
34
public
function
getTotalPrice
();
35
39
public
function
setPrice
(?
Money
$price): void;
40
44
public
function
setTotalPrice
(?
Money
$totalPrice): void;
45
}
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\Cart\ExternalLineItemTotalPrice
Definition:
ExternalLineItemTotalPrice.php:16
Commercetools\Api\Models\Cart\ExternalLineItemTotalPrice\setPrice
setPrice(?Money $price)
Commercetools\Api\Models\Cart\ExternalLineItemTotalPrice\FIELD_PRICE
const FIELD_PRICE
Definition:
ExternalLineItemTotalPrice.php:17
Commercetools\Api\Models\Cart\ExternalLineItemTotalPrice\setTotalPrice
setTotalPrice(?Money $totalPrice)
Commercetools\Api\Models\Cart\ExternalLineItemTotalPrice\getTotalPrice
getTotalPrice()
Commercetools\Api\Models\Cart\ExternalLineItemTotalPrice\getPrice
getPrice()
Commercetools\Api\Models\Cart\ExternalLineItemTotalPrice\FIELD_TOTAL_PRICE
const FIELD_TOTAL_PRICE
Definition:
ExternalLineItemTotalPrice.php:18
Commercetools\Api\Models\Common\Money
Definition:
Money.php:15
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Api\Models\Cart
Definition:
Cart.php:9
Generated by
1.9.1