Class: Bitsy::BuildSendManyHash
- Inherits:
-
Object
- Object
- Bitsy::BuildSendManyHash
- Includes:
- LightService::Action
- Defined in:
- app/services/bitsy/build_send_many_hash.rb
Class Method Summary collapse
Class Method Details
.for_transaction(payment_transaction) ⇒ Object
24 25 26 27 28 29 30 31 32 |
# File 'app/services/bitsy/build_send_many_hash.rb', line 24 def self.for_transaction(payment_transaction) payment_depot = payment_transaction.payment_depot owner_address = payment_depot.owner_address tax_address = payment_depot.tax_address { tax_address => payment_transaction.forward_tax_fee.to_f * 100_000_000, owner_address => payment_transaction.owner_fee.to_f * 100_000_000, } end |