Method Normalize
Normalize(String)
Takes the given userInput
and attempts to 'normalise' it, that is remove unneccesary characters, format and validate the result.
Declaration
string Normalize(string userInput)
Parameters
Type | Name | Description |
---|---|---|
System.String | userInput | The input to be corrected. |
Returns
Type | Description |
---|---|
System.String | A string containing the normalised form of the input. |
Exceptions
Type | Condition |
---|---|
OnlineEftposInvalidDataException | Thrown if the result cannot be normalised or results in an invalid value. |