# FrakResolvedConfig

```swift
struct FrakResolvedConfig
```

What the backend knows about this merchant, as resolved by `GET /user/merchant/resolve`.

The whole tree is `public` because its actual reader, the sharing sheet, lives in the
separate `FrakSDKUI` target. `css`, `productId` and `allowedDomains` are deliberately absent.

Nothing here is `Decodable`, and adding it back is a one-way door: the conformance is public
API. Decoding lives on private wire types in `ResolvedConfigDecoder.swift`.

**Conforms to** `Swift.Equatable`, `Swift.Hashable`, `Swift.Sendable`

Defined in: [Sources/FrakSDK/Config/FrakResolvedConfig.swift:8](https://github.com/frak-id/wallet/blob/35995d05c807efe1e0d6319fdede3ad363124d1e/sdk/ios/Sources/FrakSDK/Config/FrakResolvedConfig.swift#L8)

## Initializers

### init(merchantId:name:domain:lang:currency:hidden:sdkConfig:)

```swift
init(
    merchantId: String,
    name: String,
    domain: String,
    lang: FrakLanguage? = nil,
    currency: FrakCurrency? = nil,
    hidden: Bool = false,
    sdkConfig: ResolvedSdkConfig? = nil
)
```

## Properties

### currency

```swift
let currency: FrakCurrency?
```

Informational only — reward formatting always reads currency from `FrakMetadata`.

### displayLogoURL

```swift
var displayLogoURL: String? { get }
```

Logo to show alongside ``displayName``, or nil when the backend has none on file.

### displayName

```swift
var displayName: String { get }
```

Name to show a user: the `sdkConfig` override when the backend sent one, else ``name``.

### domain

```swift
let domain: String
```

Merchant's canonical domain, not whatever domain was queried.

### hidden

```swift
let hidden: Bool
```

Merchant asked to be hidden from the explorer. Rarely relevant natively.

### lang

```swift
let lang: FrakLanguage?
```

### merchantId

```swift
let merchantId: String
```

Server-issued merchant UUID; the identity everything else is keyed by.

### name

```swift
let name: String
```

### sdkConfig

```swift
let sdkConfig: ResolvedSdkConfig?
```

## Operators

### !=(_:_:)

```swift
static func != (lhs: Self, rhs: Self) -> Bool
```

Returns a Boolean value indicating whether two values are not equal.

Inequality is the inverse of equality. For any values `a` and `b`, `a != b`
implies that `a == b` is `false`.

This is the default implementation of the not-equal-to operator (`!=`)
for any type that conforms to `Equatable`.

- Parameters:
  - lhs: A value to compare.
  - rhs: Another value to compare.