Beispiel #1
0
        public string GetLabelCode(ProductType productType)
        {
            var prefix = string.Empty;

            switch (productType)
            {
            case ProductType.Event:
                prefix = "e";
                break;

            case ProductType.Action:
                prefix = "a";
                break;

            case ProductType.Physical:
                prefix = "pop";
                break;
            }

            return(prefix + _paymentProvider.GetSerialCode());
        }