- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
public static string GetPaymentDocParameter(RES.Schemas.PaymentDoc pmDoc, string parameterName, string defaultValue = default(string))
{
RES.Schemas.PaymentParameterParameter param = pmDoc.Parameters.Where(t => t.name == parameterName).FirstOrDefault();
if (pmDoc == null)
return defaultValue;
if (param == null)
return defaultValue;
return param.Value;
}
Комментарии (0) RSS
Добавить комментарий