Class: Dune::Balanced::Bankaccount::TransactionAdditionalFeeCalculator
- Inherits:
-
TransactionFeeCalculatorBase
- Object
- TransactionFeeCalculatorBase
- Dune::Balanced::Bankaccount::TransactionAdditionalFeeCalculator
- Defined in:
- app/models/dune/balanced/bankaccount/transaction_additional_fee_calculator.rb
Instance Attribute Summary
Attributes inherited from TransactionFeeCalculatorBase
Instance Method Summary collapse
Methods inherited from TransactionFeeCalculatorBase
#fees, #gross_amount, #initialize
Constructor Details
This class inherits a constructor from Dune::Balanced::Bankaccount::TransactionFeeCalculatorBase
Instance Method Details
#net_amount ⇒ Object
7 8 9 |
# File 'app/models/dune/balanced/bankaccount/transaction_additional_fee_calculator.rb', line 7 def net_amount transaction_value.to_f.floor_with_two_decimal_places end |