Class: Spree::Payout

Inherits:
Base
  • Object
show all
Extended by:
DisplayMoney
Includes:
Metadata
Defined in:
app/models/spree/payout.rb

Instance Method Summary collapse

Instance Method Details

#amount_owed_to_vendorObject



19
20
21
# File 'app/models/spree/payout.rb', line 19

def amount_owed_to_vendor
  &.dig('amount_owed_to_vendor')&.to_f
end