コード例 #1
0
        public static Customer GetCustomerByEmailCall(string Email)
        {
            const string simpleKey = "109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00";
            var          api       = new CustomerApi(simpleKey);
            string       expand    = null; // I'm only checking for existence, I don't need the expanded Customer object.
            var          response  = api.GetCustomerByEmail(Email, expand);

            return(response.Success == true ? response.Customer : null);
        }