use fees from settings
This commit is contained in:
parent
a4ae6a586a
commit
432aed665a
4 changed files with 13 additions and 6 deletions
|
@ -47,8 +47,8 @@ class Marketplace
|
|||
BasketVec basket_;
|
||||
};
|
||||
|
||||
double marketFee(int sum, int percent, int maxFee = 5000);
|
||||
std::string marketFeeAsString(int sum, int percent, int maxFee = 5000);
|
||||
std::string paymentAsString(int sum, int percent);
|
||||
double marketFee(int sumInCent, int percent, int maxFeeInCent);
|
||||
std::string marketFeeAsString(int sumInCent, int percent, int maxFeeInCent);
|
||||
std::string paymentAsString(int sumInCent, int percent, int maxFeeInCent);
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue