Example #1
0
        internal static string ToSerializedValue(this OperationActionEnum value)
        {
            switch (value)
            {
            case OperationActionEnum.Unsubscribe:
                return("Unsubscribe");

            case OperationActionEnum.ChangePlan:
                return("ChangePlan");

            case OperationActionEnum.ChangeQuantity:
                return("ChangeQuantity");

            case OperationActionEnum.Suspend:
                return("Suspend");

            case OperationActionEnum.Reinstate:
                return("Reinstate");
            }
            return(null);
        }
 public static string ToSerialString(this OperationActionEnum value) => value switch
 {