Esempio n. 1
0
        public static string GetString(this PaymentCompleteType type)
        {
            switch (type)
            {
            case PaymentCompleteType.Success:
                return("success");

            case PaymentCompleteType.Fail:
                return("fail");

            case PaymentCompleteType.Unknown:
            default:
                return("unknown");
            }
        }
Esempio n. 2
0
 public PaymentComplete(PaymentCompleteType paymentComplete)
 {
     result = paymentComplete.GetString();
 }