if (strcasecmp(node->getName(), "FeeChargeType") == 0)
{
- if (ParseUnsignedInRange(node->getValue(0), 0, 2, &feeChargeType) != 0)
+ if (ParseUnsignedInRange(node->getValue(0), 0, 3, &feeChargeType) != 0)
{
strError = "Incorrect FeeChargeType value: \'" + string(node->getValue(0)) + "\'";
return -1;
}
}
+ if (strcasecmp(node->getName(), "ScriptParams") == 0)
+ {
+ for (int i = 0; node->getValue(i) != NULL; ++i)
+ {
+ scriptParams.push_back(node->getValue(i));
+ }
+ }
node = node->getNextNode();
}
return -1;
}
-//-----------------------------------------------------------------------------
+//-----------------------------------------------------------------------------
\ No newline at end of file