TermsAndConditionsCallback
public class TermsAndConditionsCallback : AbstractCallback, ObservableObject, @unchecked Sendable
A callback that collects a user’s acceptance of the configured Terms & Conditions.
-
Created date of given Terms & Conditions in string
Declaration
Swift
private(set) public var createDate: String { get } -
String value of Terms & Conditions
Declaration
Swift
private(set) public var terms: String { get } -
Specified version of given Terms & Conditions
Declaration
Swift
private(set) public var version: String { get } -
The user’s acceptance of the terms and conditions
Declaration
Swift
public var accepted: Bool -
Initializes a new instance of
TermsAndConditionsCallbackwith the provided JSON input.Declaration
Swift
public override func initValue(name: String, value: Any) -
Returns the payload with the user’s acceptance value.
Declaration
Swift
public override func payload() -> [String : Any]
View on GitHub