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

# clsMedicalRefund.clsMedicalServicePayment

`clsMedicalRefund.clsMedicalServicePayment` represents a medical service payment within a refundable bill and exposes audit sequence numbers, service from date, and service through date used during refund processing.*

## Purpose
- Tracks audit sequence numbers, service from date, and service through date for the refund workflow.*

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

## Public members
| Member | Signature | Purpose |
| --- | --- | --- |
| `AuditSeqNum` | `Public ReadOnly Property AuditSeqNum() As Decimal` | Returns audit seq num. |
| `ServiceFromDate` | `Public ReadOnly Property ServiceFromDate() As Date` | Returns service from date. |
| `ServiceThruDate` | `Public ReadOnly Property ServiceThruDate() As Date` | Returns service thru date. |
| `ServiceCode` | `Public ReadOnly Property ServiceCode() As String` | Returns service code. |
| `ServiceDescription` | `Public ReadOnly Property ServiceDescription() As String` | Returns service description. |
| `PaymentCategoryCode` | `Public ReadOnly Property PaymentCategoryCode() As String` | Returns payment category code. |
| `AllowedAmount` | `Public ReadOnly Property AllowedAmount() As Decimal` | Returns allowed amount. |
| `RefundAmount` | `Public Property RefundAmount() As Decimal` | Gets or sets refund amount. |

## Inherited public members

| Member | Signature | Purpose | Origin |
| --- | --- | --- | --- |
| `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` |
| `Save` | `Public Overridable Function Save() As Boolean` | Persists the object through the BOF save pipeline.† | `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 `clsBusinessBase` 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\clsMedicalRefund.vb`
- `Legacy\BusinessObjectFramework\clsBusinessBase.vb`
