discount type switch for get_order_discount
readme & version number update