Skip to content

clsHwrRefund

clsHwrRefund represents an HWR refund adjustment and manages HWR payments, claim context, and the total refund amount, including validation and save behavior for the adjustment.*

Purpose

  • Tracks HWR payments, claim context, and the total refund amount for the refund workflow.*
  • Validates the refund state before persisting it.*

Context

  • Namespace: Adjustment.Refund
  • Assembly/package: SAIF.Business.Claim.Payment

Public members

Member Signature Purpose
HwrPayments Public ReadOnly Property HwrPayments() As clsBusinessCollection(Of clsHwrPayment) Returns hwr payments.
IsValid Public Overrides ReadOnly Property IsValid() As Boolean Returns is valid.
New Public Sub New(ByVal inDPI As IDataPortalInfo) Executes the New operation.
Save Public Overrides Function Save() As Boolean Executes the Save operation.

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
ClaimData Public Property ClaimData() As clsClaimData Gets or sets claim data. 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\clsHwrRefund.vb
  • Legacy\BusinessObjectFramework\clsBusinessBase.vb