|
|
3/5/2012 2:05:42 PM
for immutable objects (e.g. invoice items); made invoices and invoice items immutable
|
|
|
2/28/2012 2:41:48 PM
into integration
|
2/28/2012 2:29:06 PM
use MySQL's NOW() function for ease of unit testing.
This also fixes the following bugs:
* Pass Date object to PaymentSqlDao#updatePaymentAttemptWithRetryInfo for nextRetryDate (DateTime won't work)
* PaymentAttempt and PaymentInfo equals() methods were always returning true
* equals(): fix BigDecimal comparison - use compareTo
* equals(): compare Unix timestamps - not DateTime objects - as we throw away milliseconds in the db
* Handle null as 0 for PaymentAttempt#retryCount
Signed-off-by: Pierre-Alexandre Meyer <pierre@ning.com>
|
2/27/2012 8:17:14 PM
don't use MySQL's NOW() function for ease of unit testing.
Signed-off-by: Pierre-Alexandre Meyer <pierre@ning.com>
|
|
|