#1022. Added interface to support advanced offer codes