public void setPremiumSMS ( Object shortcode , Object keyword , Object tariff , Object mid ) { final Map < String , Object > premiumSMSConfig = new LinkedHashMap < String , Object > ( 4 ) ; premiumSMSConfig . put ( "shortcode" , shortcode ) ; premiumSMSConfig . put ( "keyword" , keyword ) ; premiumSMSConfig . put ( "tariff" , tariff ) ; premiumSMSConfig . put ( "mid" , mid ) ; this . typeDetails = premiumSMSConfig ; this . type = MsgType . premium ; }
Setup premium SMS type