---
title: Configuration settings
summary: Configuration keys consumed by SAIF.Business.EPay.USBank, retrieval methods, and runtime dependencies.
status: draft
owner: SAIF
last_reviewed: 2026-07-24
library: SAIF.Business.EPay.USBank
reference_type: package
---

# Configuration settings

`SAIF.Business.EPay.USBank` reads configuration from three main places: centralized environment settings (`IEnvironmentService`), legacy `properties.xml` nodes exposed through `clsProperties`, and an external UNC-hosted XML constants file. The library also carries typed SOAP-endpoint defaults in `app.config`, but handwritten code primarily overrides service URLs from runtime configuration.

## Configuration retrieval methods

| Method | Class / Interface | Namespace | Usage pattern |
| --- | --- | --- | --- |
| `AppGlobal.EnvironmentService.GetConfigSetting(key)` | `IEnvironmentService` via `AppGlobal` | `SAIF.Framework.Security` | Sets the primary US Bank SOAP client URL and the SAIF session-transfer wrapper URL. |
| `EnvironmentService.GetConfigSetting(key)` | `IEnvironmentService` instance property | `SAIF.Core.Services` | Resolves a product-specific US Bank product code from the `payonline.productcode.<ProductCode>` key pattern. |
| `clsProperties.getProperty("EPAY", propertyName)` | `clsProperties` | Legacy properties provider | Reads EPAY feature flags, biller IDs, and notification settings. |
| `clsProperties.getAppProperties("EPAY")` / `clsProperties.getAppProperties("ONLINE")` | `clsProperties` | Legacy properties provider | Reads the EPAY exception list and ONLINE/SECURITY proxy credentials. |
| `XDocument.Load(path)` | `USBankConstants` | `System.Xml.Linq` | Loads the external XML constants file selected by `USBankCodes.USBankConstantsFileName`. |
| `My.MySettings` | `SAIF.Business.EPay.USBank.My.MySettings` | `System.Configuration` | Provides design-time/default SOAP endpoint settings consumed by generated proxy classes. |

## Environment API settings

Settings retrieved via `IEnvironmentService`.

| Setting key | Method | Data type | Purpose | Consuming class | Source |
| --- | --- | --- | --- | --- | --- |
| `usBankEPayServiceUrl` | `GetConfigSetting` | `String` | Runtime endpoint for the primary US Bank SOAP client. | `USBankAPIs` | `Business\SAIF.Business.EPay.USBank\USBankAPIs.vb` |
| `usBankEPayInterfaceServiceUrl` | `GetConfigSetting` | `String` | Runtime endpoint for the SAIF session-transfer SOAP wrapper. | `RemotePostFiller` | `Business\SAIF.Business.EPay.USBank\RemotePostFiller.vb` |
| `payonline.productcode.<ProductCode>` | `GetConfigSetting` | `String` | Maps a SAIF product enum value to the US Bank product code sent in gateway requests. | `Enums` | `Business\SAIF.Business.EPay.USBank\Enums.vb` |

## AppSettings (Web.config)

No handwritten code in this library uses `ConfigurationManager.AppSettings`.

## Database connection configuration

| Connection name | Provider | Retrieval method | Purpose | Source |
| --- | --- | --- | --- | --- |
| `Oracle.ManagedDataAccess.Client` | Oracle Managed Data Access | Provider registration in `app.config` | Enables the Oracle driver expected by the BOF persistence SQL. | `Business\SAIF.Business.EPay.USBank\app.config` |

## Secure settings

| Setting key | Encryption method | Purpose | Consuming class | Source |
| --- | --- | --- | --- | --- |
| `ONLINE/SECURITY.USERID` | Plain-text legacy properties entry | Supplies the impersonated proxy user name used for the UNC constants-file read. | `USBankCodes` | `Business\SAIF.Business.EPay.USBank\USBankCodes.vb` |
| `ONLINE/SECURITY.PASSWORD` | Plain-text legacy properties entry | Supplies the impersonated proxy password used for the UNC constants-file read. | `USBankCodes` | `Business\SAIF.Business.EPay.USBank\USBankCodes.vb` |

## Transitive configuration (from dependencies)

| Setting key | Method | Source dependency | Dependency type | Purpose |
| --- | --- | --- | --- | --- |
| Host BOF runtime settings* | Host or framework-specific configuration | `SAIF.BOF.Business` | NuGet | Broader BOF business services packaged with this library can impose additional runtime configuration requirements beyond the keys consumed directly here. |

## Configuration dependencies

| Dependency | Type | Required at | Impact if missing |
| --- | --- | --- | --- |
| `AppGlobal.EnvironmentService` | Framework service | Runtime request handling | SOAP client URLs and product-code mappings cannot be resolved. |
| `EPAY` legacy property node | Legacy properties source | Runtime request handling | Feature flags, biller IDs, and notification settings cannot be read. |
| `ONLINE/SECURITY` legacy property node | Legacy properties source | Runtime request handling | The proxy identity required to read the constants file is unavailable. |
| `\\salemnas\epaydata\EPayUSBankConstants-*.config` | External XML file share | Runtime request handling | Biller-group, session-transfer URL, admin org, and admin token values cannot be loaded. |
| `SAIF.Business.EPay.USBank.My.MySettings` | Application settings section | Proxy construction | Generated proxy defaults are unavailable to the generated reference code. |

## Related documentation
- [Index](index.md)
- [Overview](overview.md)
- [Architecture](architecture.md)
- [Dependencies](dependencies.md)
- [Operations and processes](operations-processes.md)
- [Business rules](business-rules.md)
- [Database tables](database-tables.md)
- [Security and authorization](security-authorization.md)
- [SQL catalog](sql/index.md)
- [API reference](api/index.md)

> **Note:** Statements marked with `*` were inferred from code structure, naming conventions, or contextual evidence where direct confirmation was not available in source artifacts.

## Sources
- `Business\SAIF.Business.EPay.USBank\app.config`
- `Business\SAIF.Business.EPay.USBank\packages.config`
- `Business\SAIF.Business.EPay.USBank\SAIF.BOF.Business.EPay.USBank.vbproj`
- `Business\SAIF.Business.EPay.USBank\USBankAPIs.vb`
- `Business\SAIF.Business.EPay.USBank\RemotePostFiller.vb`
- `Business\SAIF.Business.EPay.USBank\Enums.vb`
- `Business\SAIF.Business.EPay.USBank\USBankCodes.vb`
- `Business\SAIF.Business.EPay.USBank\USBankConstants.vb`
- `Business\SAIF.Business.EPay.USBank\epayWebServiceService.vb`
- `Business\SAIF.Business.EPay.USBank\Web References\wsUSBankSessionTransferServices\Reference.vb`
- `Business\SAIF.Business.EPay.USBank\Web References\wsUSBankSessionTransferServices1\Reference.vb`

