Class: Dune::Balanced::Creditcard::TransactionAdditionalFeeCalculator
- Inherits:
-
TransactionFeeCalculatorBase
- Object
- TransactionFeeCalculatorBase
- Dune::Balanced::Creditcard::TransactionAdditionalFeeCalculator
- Defined in:
- app/models/dune/balanced/creditcard/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::Creditcard::TransactionFeeCalculatorBase
Instance Method Details
#net_amount ⇒ Object
7 8 9 |
# File 'app/models/dune/balanced/creditcard/transaction_additional_fee_calculator.rb', line 7 def net_amount transaction_value.to_f.floor_with_two_decimal_places end |