Method EnsureValid
EnsureValid()
Throws if the details are invalid.
Declaration
public override void EnsureValid()
Overrides
Remarks
Throws if the RefundAmount is less than 1, the OriginalPaymentId is not provided, or the RefundReason is more than 512 characters.
Exceptions
Type | Condition |
---|---|
OnlineEftposInvalidDataException | Thrown if the values of this instance are invalid. |