public static string GetString(this SupportedNetworkType type)
        {
            switch (type)
            {
            case SupportedNetworkType.Amex:
                return("amex");

            case SupportedNetworkType.CarteBancaire:
                return("cartebancaire");

            case SupportedNetworkType.Diners:
                return("diners");

            case SupportedNetworkType.Discover:
                return("discover");

            case SupportedNetworkType.JCB:
                return("jcb");

            case SupportedNetworkType.Mastercard:
                return("mastercard");

            case SupportedNetworkType.MIR:
                return("mir");

            case SupportedNetworkType.UnionPay:
                return("unionpay");

            case SupportedNetworkType.Visa:
                return("visa");

            case SupportedNetworkType.All:
            default:
                return("");
            }
        }
        public BasicCardPaymentMethod AddSupportedNetwork(SupportedNetworkType network)
        {
            this.SupportedNetworks.Add(network.GetString());

            return(this);
        }