---
title: IPaymentsQueryProvider
summary: API reference for IPaymentsQueryProvider.
status: draft
owner: SAIF.Core documentation team
last_reviewed: 2026-09-24
library: SAIF.Data
reference_type: package
---

# IPaymentsQueryProvider

Contract implemented by `PaymentsQueryProvider`.

## Purpose
- Defines the members that `PaymentsQueryProvider` must provide to callers of this abstraction.

## Context
- Namespace: `SAIF.Data.Queries.Payments`
- Assembly/package: `SAIF.Data`

## Public members
| Member | Signature | Purpose |
| --- | --- | --- |
| GetPaymentTransactionStatisic | `PaymentTransactionStatistic GetPaymentTransactionStatisic(long statId)` | Retrieves payment transaction statisic.* |
| GetLastPaymentTransactionStatisic | `PaymentTransactionStatistic GetLastPaymentTransactionStatisic(string code)` | Retrieves last payment transaction statisic.* |
| GetLastMedicalAuditPaymentTransactionStatisic | `PaymentTransactionStatistic GetLastMedicalAuditPaymentTransactionStatisic()` | Retrieves last medical audit payment transaction statisic.* |
| GetPaymentType | `PaymentTransactionTypeCode GetPaymentType(string type)` | Retrieves payment type.* |
| GetMedicalAuditPaymentType | `PaymentTransactionTypeCode GetMedicalAuditPaymentType()` | Retrieves medical audit payment type.* |

## Behavioral notes
- As an interface, this type defines no executable behavior of its own; behavior is determined by its implementation(s).*

## Constraints and usage notes
- Callers should depend on this interface rather than the concrete implementation(s) (`PaymentsQueryProvider`) to preserve testability.*

> **Note:** Statements marked with * were inferred from code structure, naming conventions, or contextual evidence where direct confirmation was not available in source artifacts. Statements marked with ** could not be confirmed; treat as unknown until verified.

## Sources
- `Data/SAIF.Data/Queries/Payments/IPaymentsQueryProvider.cs`
