commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
Cart
TaxedPriceDraft.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\Api\Models\Common\TypedMoneyDraft
;
13
use
Commercetools\Base\DateTimeImmutableCollection
;
14
use
Commercetools\Base\JsonObject
;
15
16
interface
TaxedPriceDraft
extends
JsonObject
17
{
18
public
const
FIELD_TOTAL_NET
=
'totalNet'
;
19
public
const
FIELD_TOTAL_GROSS
=
'totalGross'
;
20
public
const
FIELD_TAX_PORTIONS
=
'taxPortions'
;
21
public
const
FIELD_TOTAL_TAX
=
'totalTax'
;
22
29
public
function
getTotalNet
();
30
37
public
function
getTotalGross
();
38
46
public
function
getTaxPortions
();
47
54
public
function
getTotalTax
();
55
59
public
function
setTotalNet
(?
Money
$totalNet): void;
60
64
public
function
setTotalGross
(?
Money
$totalGross): void;
65
69
public
function
setTaxPortions
(?
TaxPortionDraftCollection
$taxPortions): void;
70
74
public
function
setTotalTax
(?
TypedMoneyDraft
$totalTax): void;
75
}
Commercetools\Api\Models\Cart\TaxPortionDraftCollection
Definition:
TaxPortionDraftCollection.php:22
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\Cart\TaxedPriceDraft
Definition:
TaxedPriceDraft.php:17
Commercetools\Api\Models\Cart\TaxedPriceDraft\getTaxPortions
getTaxPortions()
Commercetools\Api\Models\Cart\TaxedPriceDraft\getTotalGross
getTotalGross()
Commercetools\Api\Models\Cart\TaxedPriceDraft\getTotalNet
getTotalNet()
Commercetools\Api\Models\Cart\TaxedPriceDraft\setTotalGross
setTotalGross(?Money $totalGross)
Commercetools\Api\Models\Cart\TaxedPriceDraft\FIELD_TOTAL_TAX
const FIELD_TOTAL_TAX
Definition:
TaxedPriceDraft.php:21
Commercetools\Api\Models\Cart\TaxedPriceDraft\FIELD_TOTAL_GROSS
const FIELD_TOTAL_GROSS
Definition:
TaxedPriceDraft.php:19
Commercetools\Api\Models\Cart\TaxedPriceDraft\getTotalTax
getTotalTax()
Commercetools\Api\Models\Cart\TaxedPriceDraft\setTotalNet
setTotalNet(?Money $totalNet)
Commercetools\Api\Models\Cart\TaxedPriceDraft\FIELD_TAX_PORTIONS
const FIELD_TAX_PORTIONS
Definition:
TaxedPriceDraft.php:20
Commercetools\Api\Models\Cart\TaxedPriceDraft\setTotalTax
setTotalTax(?TypedMoneyDraft $totalTax)
Commercetools\Api\Models\Cart\TaxedPriceDraft\FIELD_TOTAL_NET
const FIELD_TOTAL_NET
Definition:
TaxedPriceDraft.php:18
Commercetools\Api\Models\Cart\TaxedPriceDraft\setTaxPortions
setTaxPortions(?TaxPortionDraftCollection $taxPortions)
Commercetools\Api\Models\Common\Money
Definition:
Money.php:15
Commercetools\Api\Models\Common\TypedMoneyDraft
Definition:
TypedMoneyDraft.php:15
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Api\Models\Cart
Definition:
Cart.php:9
Generated by
1.9.1