commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
Cart
TaxPortionDraft.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
TaxPortionDraft
extends
JsonObject
16
{
17
public
const
FIELD_NAME
=
'name'
;
18
public
const
FIELD_RATE
=
'rate'
;
19
public
const
FIELD_AMOUNT
=
'amount'
;
20
27
public
function
getName
();
28
35
public
function
getRate
();
36
43
public
function
getAmount
();
44
48
public
function
setName
(?
string
$name): void;
49
53
public
function
setRate
(?
float
$rate): void;
54
58
public
function
setAmount
(?
Money
$amount): void;
59
}
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\Cart\TaxPortionDraft
Definition:
TaxPortionDraft.php:16
Commercetools\Api\Models\Cart\TaxPortionDraft\FIELD_AMOUNT
const FIELD_AMOUNT
Definition:
TaxPortionDraft.php:19
Commercetools\Api\Models\Cart\TaxPortionDraft\getAmount
getAmount()
Commercetools\Api\Models\Cart\TaxPortionDraft\setAmount
setAmount(?Money $amount)
Commercetools\Api\Models\Cart\TaxPortionDraft\FIELD_NAME
const FIELD_NAME
Definition:
TaxPortionDraft.php:17
Commercetools\Api\Models\Cart\TaxPortionDraft\getRate
getRate()
Commercetools\Api\Models\Cart\TaxPortionDraft\getName
getName()
Commercetools\Api\Models\Cart\TaxPortionDraft\setName
setName(?string $name)
Commercetools\Api\Models\Cart\TaxPortionDraft\FIELD_RATE
const FIELD_RATE
Definition:
TaxPortionDraft.php:18
Commercetools\Api\Models\Cart\TaxPortionDraft\setRate
setRate(?float $rate)
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