class BillTrap::InvoiceEntry

Public Instance Methods

total() click to toggle source
# File lib/billtrap/models.rb, line 146
def total
  Money.new(cents, invoice.currency) * count
end
typed_amount() click to toggle source
# File lib/billtrap/models.rb, line 142
def typed_amount
 return "#{count}#{unit}"
end