Class Money
- 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
Direct known subclasses
Commercetools\Core\Model\Common\CentPrecisionMoney
,
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/Money.php
API documentation: https://docs.commercetools.com/http-api-types.html#money
Located at Core/Model/Common/Money.php
Methods summary
public static
|
|
public
string
|
|
public static
|
#
ofCurrencyAndAmount( $currencyCode, $centAmount,
|
Methods inherited from Commercetools\Core\Model\Common\JsonObject
Methods inherited from Commercetools\Core\Model\Common\AbstractJsonDeserializeObject
Methods inherited from Commercetools\Core\Model\Common\ContextAwareInterface
getContext()
,
getContextCallback()
,
setContext()
,
setContextIfNull()
Methods inherited from Commercetools\Core\Model\Common\ObjectTreeInterface
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
string
|
|
public
|
Constants summary
string |
CURRENCY_CODE
|
#
'currencyCode'
|
string |
CENT_AMOUNT
|
#
'centAmount'
|
string |
FRACTION_DIGITS
|
#
'fractionDigits'
|
string |
TYPE_CENT_PRECISION
|
#
'centPrecision'
|
string |
TYPE_HIGH_PRECISION
|
#
'highPrecision'
|