---
title: clsNdRefund
summary: API reference for clsNdRefund.
status: draft
owner: SAIF Doc Gen
last_reviewed: 2026-07-28
library: SAIF.Business.Claim.Payment
reference_type: package
---

# clsNdRefund

`clsNdRefund` represents an ND refund adjustment and manages ND payments, claim context, and ND reimbursement periods, including validation and save behavior for the adjustment.*

## Purpose
- Tracks ND payments, claim context, and ND reimbursement periods for the refund workflow.*
- Loads or reshapes the eligible refund candidates for the current adjustment.*
- Validates the refund state before persisting it.*

## Context
- Namespace: `Adjustment.Refund`
- Assembly/package: `SAIF.Business.Claim.Payment`

## Public members
| Member | Signature | Purpose |
| --- | --- | --- |
| `NdPayments` | `Public ReadOnly Property NdPayments() As List(Of clsNdPayment)` | Returns nd payments. |
| `NdReimbursementPeriods` | `Public ReadOnly Property NdReimbursementPeriods() As List(Of clsNdReimbursmentPeriod)` | Returns nd reimbursement periods. |
| `NdReimbursementPeriod` | `Public Property NdReimbursementPeriod() As clsNdReimbursmentPeriod` | Gets or sets nd reimbursement period. |
| `IsValid` | `Public Overrides ReadOnly Property IsValid() As Boolean` | Returns is valid. |
| `New` | `Public Sub New(ByVal inDPI As IDataPortalInfo, ByVal inPolicyNumber As Decimal,` | Executes the `New` operation. |
| `Save` | `Public Overrides Function Save() As Boolean` | Executes the `Save` operation. |
| `SetAmountSinceStatement` | `Public Sub SetAmountSinceStatement()` | Executes the `SetAmountSinceStatement` operation. |
| `ClaimData` | `Public Property ClaimData As clsClaimData` | Gets or sets claim data. |
| `NDRAmount` | `Public Property NDRAmount As Decimal` | Gets or sets n d r amount. |
| `NDRMaxAmount` | `Public Property NDRMaxAmount As Decimal` | Gets or sets n d r max amount. |
| `TotalAmtPaidBefReimbPeriod` | `Public Property TotalAmtPaidBefReimbPeriod As Decimal` | Gets or sets total amt paid bef reimb period. |
| `TotalAmtPaidWithinReimbPeriod` | `Public Property TotalAmtPaidWithinReimbPeriod As Decimal` | Gets or sets total amt paid within reimb period. |
| `TotalRecoveredAmt` | `Public Property TotalRecoveredAmt As Decimal` | Gets or sets total recovered amt. |
| `LossDate` | `Public Property LossDate As DateTime` | Gets or sets loss date. |

## Inherited public members

| Member | Signature | Purpose | Origin |
| --- | --- | --- | --- |
| `TotalRefundAmount` | `Public Property TotalRefundAmount() As Decimal` | Gets or sets total refund amount. | `Adjustment.Refund` — `clsRefundAdjustment` |
| `IssueDate` | `Public Property IssueDate() As Date` | Gets or sets issue date. | `Adjustment` — `clsAdjustmentBase` |
| `MaxIssueDate` | `Public ReadOnly Property MaxIssueDate() As Date` | Returns max issue date. | `Adjustment` — `clsAdjustmentBase` |
| `GetTransactionCount` | `Public Shared Function GetTransactionCount(ByVal inDPI As IDataPortalInfo, ByVal inClaimID As Decimal) As Integer` | Retrieves the `GetTransactionCount` operation. | `Adjustment` — `clsAdjustmentBase` |
| `CostCode` | `Public Property CostCode() As String` | Gets or sets cost code. | `Adjustment` — `clsAdjustmentBase` |
| `Amount` | `Public Property Amount() As Decimal` | Gets or sets amount. | `Adjustment` — `clsAdjustmentBase` |
| `MyGuid` | `Public ReadOnly Property MyGuid() As String` | Returns the object's generated GUID identifier.† | `Legacy\BusinessObjectFramework` — `clsBusinessBase` |
| `IsNew` | `Public ReadOnly Property IsNew() As Boolean` | Indicates whether the object represents unsaved data.† | `Legacy\BusinessObjectFramework` — `clsBusinessBase` |
| `IsDeleted` | `Public ReadOnly Property IsDeleted() As Boolean` | Indicates whether the object has been marked for deletion.† | `Legacy\BusinessObjectFramework` — `clsBusinessBase` |
| `SetValueOnChange` | `Public Function SetValueOnChange(Of T)(ByRef inFieldValue As T, ByVal inSetValue As T, Optional ByVal inMarkDirty As Boolean = True) As Boolean` | Assigns a new field value only when it differs and optionally marks the object dirty.† | `Legacy\BusinessObjectFramework` — `clsBusinessBase` |
| `Rules` | `Public ReadOnly Property Rules() As clsRulesManager` | Exposes the BOF rules manager for validation and messages.† | `Legacy\BusinessObjectFramework` — `clsBusinessBase` |
| `SaveChild` | `Public Overridable Function SaveChild() As Boolean` | Persists the object as a BOF child object.† | `Legacy\BusinessObjectFramework` — `clsBusinessBase` |
| `ToXml` | `Public Function ToXml() As String` | Returns the object's XML representation using the configured default tag name.† | `Legacy\BusinessObjectFramework` — `clsBusinessBase` |

## Behavioral notes
- This type is documented from its source declaration.
- The type participates in the `clsRefundAdjustment` inheritance path used by `SAIF.Business.Claim.Payment`.

## Constraints and usage notes
- Consumers should rely on the public members and BOF lifecycle patterns visible in the source file.

> **Note:** Statements marked with `†` are derived from dependency library documentation via the Legends CLI.

## Sources
- `Business\SAIF.Business.Claim.Payment\Adjustments\Refunds\clsNdRefund.vb`
- `Legacy\BusinessObjectFramework\clsBusinessBase.vb`
