Product discount value refactoring

@OlegIlyenko @lauraluiz  please review soon.
man.... so much code for one small and beautiful line of scala code :)