FeeCalculator
in package
FinalYes
Комиссия в базисных пунктах, добавляемая к сумме.
Table of Contents
Properties
Methods
- __construct() : mixed
- addFee() : Money
Properties
$math read-only
private
IntegerMath
$math
Methods
__construct()
public
__construct(IntegerMath $math) : mixed
Parameters
- $math : IntegerMath
addFee()
public
addFee(Money $money, int $basisPoints, RoundingMode $mode) : Money
Parameters
- $money : Money
- $basisPoints : int
- $mode : RoundingMode