Commit e1af5567 by sikang

add moxie

parent d717d822
...@@ -40,5 +40,25 @@ public enum TDChannel { ...@@ -40,5 +40,25 @@ public enum TDChannel {
public String getValue() { public String getValue() {
return value; return value;
} }
public static String getMoxieType(TDChannel channel){
switch (channel){
case FACEBOOK:
return "facebook";
case LAZADA:
return "lazada";
case TOKOPEDIA:
return "tokopedia";
case GOJEK:
return "gojek";
case GRAB:
return "grab";
case TELKOMSEL:
return "telkomsel";
case WHATSAPP:
return "whatsapp";
}
return "";
}
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment