class Money extends Dto (View source)

Class represents money value with currency

Properties

string $Currency

Text with currency code with ISO 4217 standard

int $Amount

The currency amount of money

Methods

array
GetSubObjects()

Get array with mapping which property is object and what type of object.

from  Dto
array
GetDependsObjects()

Get array with mapping which property depends on other property To be overridden in child class if has any dependent objects.

from  Dto
array
GetReadOnlyProperties()

Get array with read only properties - not used in response To be overridden in child class if has any read-only properties.

from  Dto

Details

array GetSubObjects()

Get array with mapping which property is object and what type of object.

To be overridden in child class if has any sub objects.

Return Value

array

array GetDependsObjects()

Get array with mapping which property depends on other property To be overridden in child class if has any dependent objects.

Return Value

array

array GetReadOnlyProperties()

Get array with read only properties - not used in response To be overridden in child class if has any read-only properties.

Return Value

array