Mobile SDKs18 pages

ConsentData Structure Reference

← Browse native SDK reference

On this page · 9 sections

ConsentData

public struct ConsentData : Encodable

Child structure of CustomerVerifyDataRequest.

Enumerations

  • Whether or not to accept consent. Default is Y.

    See more

    Declaration

    Swift

    public enum ConsentAccepted : String, Encodable

Properties

  • Consent accepted Value should be in Y / N

    Declaration

    Swift

    public var consentAccepted: ConsentAccepted?
  • Consent accepted timestamp, example: 01/12/2023 17:00:00

    Declaration

    Swift

    public var consentAcceptedTimestamp: String?

Initialization

  • Designated initializer.

    Declaration

    Swift

    public init(consentAccepted: ConsentAccepted? = .yes,
                consentAcceptedTimestamp: String? = nil)

    Parameters

    consentAccepted

    Consent accepted Value should be in Y / N

    consentAcceptedTimestamp

    Consent accepted timestamp, example: 01/12/2023 17:00:00.

Report a docs issue

Copy this context into your team’s issue tracker or an email to support@idmission.com.