class Osm::OnlinePayment::Schedule::Payment
Public Instance Methods
inspect()
click to toggle source
# File lib/osm/online_payment.rb, line 284 def inspect Osm.inspect_instance(self, {:replace_with => {'schedule' => :to_s}}) end
past_due?(date=Date.today)
click to toggle source
Check if the payment is past due (or will be past due on the passed date) @param [Date] date The date to check for (defaults to today) @return [Boolean]
# File lib/osm/online_payment.rb, line 280 def past_due?(date=Date.today) date > due_date end