sums a list of money s . the returned money has the currency of the money s in the given list . if the list is empty the #zero_money is returned . concode_field_sep String DEFAULT_CURRENCY_STRING concode_elem_sep Money ZERO_MONEY concode_field_sep Money getMoneyWithDefaultCurrency concode_elem_sep Money getMoney
Money function ( List < Money > arg0 ) { Money loc0 = null ; for ( Money loc1 : arg0 ) { if ( loc0 == null ) { loc0 = loc1 ; } else { loc0 = loc0 . add ( loc1 ) ; } } if ( loc0 == null ) { loc0 = ZERO_MONEY ; } return loc0 ; }