public T GetValue <T>(string fieldName, bool ignoreCustomerIsShipping = false)
        {
            if (_customerIsShipping && !ignoreCustomerIsShipping)
            {
                return(default(T));
            }

            return(Helpers.GetValue <T>(fieldName, _source));
        }
 public T GetValue <T>(string fieldName)
 {
     return(Helpers.GetValue <T>(fieldName, _source));
 }
示例#3
0
		public T GetValue<T>(string fieldName)
		{
			return Helpers.GetValue<T>(fieldName, _line.CustomData);
		}