BigDecimal function ( Order arg0 ) { double loc0 = 0 ; if ( arg0 . getGoodsInOrders ( ) != null ) for ( GoodsInOrder loc1 : arg0 . getGoodsInOrders ( ) ) { loc0 += ( loc1 . getPrice ( ) . doubleValue ( ) * loc1 . getQuantity ( ) ) ; } return new BigDecimal ( loc0 ) ; }
calculates the order price concode_field_sep PlaceHolder placeHolder concode_field_sep placeholderType placeHolder