commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
Common
HighPrecisionMoneyDraft.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Models\Common
;
10
11
use
Commercetools\Base\DateTimeImmutableCollection
;
12
use
Commercetools\Base\JsonObject
;
13
14
interface
HighPrecisionMoneyDraft
extends
TypedMoneyDraft
15
{
16
public
const
FIELD_PRECISE_AMOUNT
=
'preciseAmount'
;
17
24
public
function
getFractionDigits
();
25
32
public
function
getPreciseAmount
();
33
42
public
function
getCentAmount
();
43
47
public
function
setFractionDigits
(?
int
$fractionDigits): void;
48
52
public
function
setPreciseAmount
(?
int
$preciseAmount): void;
53
57
public
function
setCentAmount
(?
int
$centAmount): void;
58
}
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\Common\HighPrecisionMoneyDraft
Definition:
HighPrecisionMoneyDraft.php:15
Commercetools\Api\Models\Common\HighPrecisionMoneyDraft\FIELD_PRECISE_AMOUNT
const FIELD_PRECISE_AMOUNT
Definition:
HighPrecisionMoneyDraft.php:16
Commercetools\Api\Models\Common\HighPrecisionMoneyDraft\getCentAmount
getCentAmount()
Commercetools\Api\Models\Common\HighPrecisionMoneyDraft\getPreciseAmount
getPreciseAmount()
Commercetools\Api\Models\Common\HighPrecisionMoneyDraft\setCentAmount
setCentAmount(?int $centAmount)
Commercetools\Api\Models\Common\HighPrecisionMoneyDraft\getFractionDigits
getFractionDigits()
Commercetools\Api\Models\Common\HighPrecisionMoneyDraft\setPreciseAmount
setPreciseAmount(?int $preciseAmount)
Commercetools\Api\Models\Common\HighPrecisionMoneyDraft\setFractionDigits
setFractionDigits(?int $fractionDigits)
Commercetools\Api\Models\Common\TypedMoneyDraft
Definition:
TypedMoneyDraft.php:15
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Api\Models\Common
Definition:
Address.php:9
Generated by
1.9.1