There is a hasIsRevenue() and getIsRevenue(). It says revenue may be null. If it is null, is it considered revenue or non-revenue?
Is the "correct" way to check for an item being revenue to be
if (li.hasIsRevenue() && li.getIsRevenue())
or is it `
if (! li.hasIsRevenue() || li.getIsRevenue())
or is there a better way?
Thanks
Danielle