protected int GetIntValue(string name) { string value = ResultBuilder.GetParam(name); if (string.IsNullOrEmpty(value)) { return(0); } return(Convert.ToInt32(value)); }
protected bool GetBooleanValue(string name) { string value = ResultBuilder.GetParam(name); if (string.IsNullOrEmpty(value)) { return(false); } value = value.ToLower(); if (value == "y" || value == "true" || value == "yes") { return(true); } return(false); }
public OrderQueryResult(ResultBuilder resultBuilder) : base(resultBuilder) { }
protected string GetValue(string name) { return(ResultBuilder.GetParam(name)); }
public ResultBase(ResultBuilder resultBuilder) { ResultBuilder = resultBuilder; OriginResultXml = resultBuilder.OriginResultXml; }
public UnifiedOrderResult(ResultBuilder resultBuilder) : base(resultBuilder) { }
public NotifyResult(ResultBuilder resultBuilder) : base(resultBuilder) { }