Skip to content

ResolvedSdkConfig

struct ResolvedSdkConfig

The sdkConfig block of a resolve response: merchant-configured copy overrides, translations, per-placement components and attribution defaults.

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

Defined in: Sources/FrakSDK/Config/FrakResolvedConfig.swift:48

init(name:logoURL:homepageLink:currency:lang:hidden:translations:placements:components:attribution:)

Section titled “init(name:logoURL:homepageLink:currency:lang:hidden:translations:placements:components:attribution:)”
init(
name: String? = nil,
logoURL: String? = nil,
homepageLink: String? = nil,
currency: FrakCurrency? = nil,
lang: FrakLanguage? = nil,
hidden: Bool = false,
translations: [String : String] = [:],
placements: [String : ResolvedPlacement] = [:],
components: ResolvedComponents? = nil,
attribution: AttributionDefaults? = nil
)
let attribution: AttributionDefaults?
let components: ResolvedComponents?

Merchant-global component copy, used when a placement does not override it.

let currency: FrakCurrency?
let hidden: Bool
let homepageLink: String?
let lang: FrakLanguage?
let logoURL: String?
let name: String?
let placements: [String : ResolvedPlacement]

Keyed by placement id.

let translations: [String : String]

Overrides keyed by translation key (e.g. "sharing.title").

!=(::)

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.