ResolvedSdkConfig
struct ResolvedSdkConfigThe 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
Initializers
Section titled “Initializers”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)Properties
Section titled “Properties”attribution
Section titled “attribution”let attribution: AttributionDefaults?components
Section titled “components”let components: ResolvedComponents?Merchant-global component copy, used when a placement does not override it.
currency
Section titled “currency”let currency: FrakCurrency?hidden
Section titled “hidden”let hidden: BoolhomepageLink
Section titled “homepageLink”let homepageLink: String?let lang: FrakLanguage?logoURL
Section titled “logoURL”let logoURL: String?let name: String?placements
Section titled “placements”let placements: [String : ResolvedPlacement]Keyed by placement id.
translations
Section titled “translations”let translations: [String : String]Overrides keyed by translation key (e.g. "sharing.title").
Operators
Section titled “Operators”!=(::)
static func != (lhs: Self, rhs: Self) -> BoolReturns 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.