Method EnsureValid
EnsureValid()
Throws if the details are invalid.
Declaration
public virtual void EnsureValid()
Remarks
Throws if any of the properties are null, empty string or whitespace. Also thrown if the UserAgent value is greater than 8192 characters. Also throws if the UserIPAddress is not an IPv4 or 6 address, or is specified in an unsupported notation.
Exceptions
Type | Condition |
---|---|
OnlineEftposInvalidDataException | Thrown if the values of this instance are invalid. |