MetaFox

AmountReceivedField extends AmountReceivedField
in package

Table of Contents

Constants

COMPONENT  = 'PointConversionAmountReceived'

Properties

$currency  : string

Methods

exchangeRate()  : self
exchangeRatePattern()  : self
feePercentage()  : self
initialize()  : void
relatedField()  : self

Constants

Properties

$currency

private string $currency = \MetaFox\ActivityPoint\Support\PointConversion::DEFAULT_CONVERSION_RATE_CURRENCY_TO_MONEY

Methods

exchangeRate()

public exchangeRate(float $rate) : self
Parameters
$rate : float
Return values
self

exchangeRatePattern()

public exchangeRatePattern([string $currency = Support::DEFAULT_CONVERSION_RATE_CURRENCY_TO_MONEY ]) : self
Parameters
$currency : string = Support::DEFAULT_CONVERSION_RATE_CURRENCY_TO_MONEY
Return values
self

feePercentage()

public feePercentage(float $value) : self
Parameters
$value : float
Return values
self

relatedField()

public relatedField(string $name) : self
Parameters
$name : string
Return values
self

        
On this page

Search results