commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
Cart
ExternalTaxAmountDraft.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
ExternalTaxAmountDraft
extends
JsonObject
16
{
17
public
const
FIELD_TOTAL_GROSS
=
'totalGross'
;
18
public
const
FIELD_TAX_RATE
=
'taxRate'
;
19
26
public
function
getTotalGross
();
27
34
public
function
getTaxRate
();
35
39
public
function
setTotalGross
(?
Money
$totalGross): void;
40
44
public
function
setTaxRate
(?
ExternalTaxRateDraft
$taxRate): void;
45
}
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\Cart\ExternalTaxAmountDraft
Definition:
ExternalTaxAmountDraft.php:16
Commercetools\Api\Models\Cart\ExternalTaxAmountDraft\setTotalGross
setTotalGross(?Money $totalGross)
Commercetools\Api\Models\Cart\ExternalTaxAmountDraft\getTotalGross
getTotalGross()
Commercetools\Api\Models\Cart\ExternalTaxAmountDraft\setTaxRate
setTaxRate(?ExternalTaxRateDraft $taxRate)
Commercetools\Api\Models\Cart\ExternalTaxAmountDraft\FIELD_TOTAL_GROSS
const FIELD_TOTAL_GROSS
Definition:
ExternalTaxAmountDraft.php:17
Commercetools\Api\Models\Cart\ExternalTaxAmountDraft\getTaxRate
getTaxRate()
Commercetools\Api\Models\Cart\ExternalTaxAmountDraft\FIELD_TAX_RATE
const FIELD_TAX_RATE
Definition:
ExternalTaxAmountDraft.php:18
Commercetools\Api\Models\Cart\ExternalTaxRateDraft
Definition:
ExternalTaxRateDraft.php:16
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