discount type and percent attribute accessible