Class HighPrecisionMoney
- Commercetools\Core\Model\Common\AbstractJsonDeserializeObject implements Commercetools\Core\Model\Common\JsonDeserializeInterface, Commercetools\Core\Model\Common\ObjectTreeInterface uses Commercetools\Core\Model\Common\ObjectTreeTrait
- Commercetools\Core\Model\Common\JsonObject implements JsonSerializable uses Commercetools\Core\Model\Common\ContextTrait
- Commercetools\Core\Model\Common\Money
- Commercetools\Core\Model\Common\HighPrecisionMoney
Namespace: Commercetools\Core\Model\Common
API documentation: https://docs.commercetools.com/http-api-types.html#money
Located at Core/Model/Common/HighPrecisionMoney.php
API documentation: https://docs.commercetools.com/http-api-types.html#money
Located at Core/Model/Common/HighPrecisionMoney.php
Methods summary
public
|
|
public static
|
#
ofCurrencyAmountAndFraction( string $currencyCode, integer $amount, integer $fractionDigits,
|
public static
|
#
ofCurrencyAndAmount( $currencyCode, $centAmount,
|
Methods inherited from Commercetools\Core\Model\Common\Money
Methods inherited from Commercetools\Core\Model\Common\JsonObject
Methods inherited from Commercetools\Core\Model\Common\AbstractJsonDeserializeObject
Methods inherited from Commercetools\Core\Model\Common\ObjectTreeInterface
Methods inherited from Commercetools\Core\Model\Common\ContextAwareInterface
getContext()
,
getContextCallback()
,
setContext()
,
setContextIfNull()
Methods used from Commercetools\Core\Model\Common\ContextTrait
getContext()
,
getContextCallback()
,
setContext()
,
setContextIfNull()
Methods used from Commercetools\Core\Model\Common\ObjectTreeTrait
Magic methods summary
public
string
|
|
public
integer
|
|
public
|
|
public
|
|
public
string
|
|
public
|
|
public
integer
|
|
public
|
|
public
integer
|
|
public
|
|
public
string
|
|
public
|
Constants summary
string |
PRECISE_AMOUNT
|
#
'preciseAmount'
|
Constants inherited from Commercetools\Core\Model\Common\Money
CENT_AMOUNT
,
CURRENCY_CODE
,
FRACTION_DIGITS
,
TYPE_CENT_PRECISION
,
TYPE_HIGH_PRECISION