AmountReceivedField
extends AbstractField
Table of Contents
Constants
-
COMPONENT
= 'PointConversionAmountReceived'
Properties
-
$currency
: string
Methods
-
exchangeRate()
: self
-
exchangeRatePattern()
: self
-
feePercentage()
: self
-
initialize()
: void
-
relatedField()
: self
COMPONENT
public
mixed
COMPONENT
= 'PointConversionAmountReceived'
$currency
private
string
$currency
= \MetaFox\ActivityPoint\Support\PointConversion::DEFAULT_CONVERSION_RATE_CURRENCY_TO_MONEY
exchangeRate()
public
exchangeRate(float $rate) : self
Parameters
-
$rate
: float
-
exchangeRatePattern()
public
exchangeRatePattern([string $currency = Support::DEFAULT_CONVERSION_RATE_CURRENCY_TO_MONEY ]) : self
Parameters
-
$currency
: string
= Support::DEFAULT_CONVERSION_RATE_CURRENCY_TO_MONEY
-
feePercentage()
public
feePercentage(float $value) : self
Parameters
-
$value
: float
-
initialize()
public
initialize() : void
public
relatedField(string $name) : self
Parameters
-
$name
: string
-