fromString

fun fromString(value: String?): PlanType

This method is used to convert a String to a PlanType. If the String is not found, the PlanType.UNKNOWN is returned.

Return

PlanType

Parameters

value

String is a string naming that represents the plan type of a PlanData.