IFinancialTransactionService¶
Defines the contract for issuing check and recovery financial transactions against Guidewire's Financial Data API for legal bills, subpoena recipients, and claim recoveries. Its sole implementation, FinancialTransactionService, backs each method with a call to IFinancialDataApiClient after resolving payee addresses and validating required inputs.
Purpose¶
- Standardizes how legal-bill check payments, subpoena-recipient check payments, and claim recoveries are requested from the financial-transaction layer, independent of the underlying Guidewire client implementation.
Context¶
- Namespace:
SAIF.Services.Claims.Payments - Assembly/package:
SAIF.Services(packaged inside theSAIF.SAIFCode.CoreNuGet package)
Public members¶
| Member | Signature | Purpose |
|---|---|---|
| CreateLegalCheckTransaction | Task<string> CreateLegalCheckTransaction(LegalBill legalBill, DateTime issueDate, string approverId) |
Requests a check financial transaction for a legal bill's billing provider and returns the resulting transaction identifier. |
| CreateSubpoenaCheckTransactions | Task<IList<string>> CreateSubpoenaCheckTransactions(Subpoena subpoena, DateTime issueDate, string approverId, string generalLedgerExpenseAccount) |
Requests check financial transactions for each eligible subpoena recipient and returns the resulting transaction identifiers. |
| CreateRecoveryAsync | Task<string> CreateRecoveryAsync(long claimId, FinancialDataApi.RecoveryFinancialData recoveryFinancialData) |
Requests a recovery financial transaction for the given claim and returns the resulting transaction identifier. |
Behavioral notes¶
- Implemented by
FinancialTransactionService, which fulfills every method via a call to the Guidewire Financial Data API throughIFinancialDataApiClient.*
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¶
- Services/SAIF.Services/Claims/Payments/FinancialTransactionService.cs