FallbackInquiryConfiguration

public struct FallbackInquiryConfiguration : InquiryConfig

An inquiry configuration that runs against a fallback inquiry template. Fallback templates do not support conditional routing or verification.

  • Begin a fallback flow from in memory data.

    Declaration

    Swift

    public init(
        fallbackTemplateData data: Data,
        referenceId: String? = nil,
        initialStepName: String? = nil,
        collectionDelegate: InquiryCollectionDelegate? = nil
    )

    Parameters

    data

    The data object to deserialize into a fallback template.

    referenceId

    Optional unique id to associate with the inquiry.

    initialStepName

    Used to resume flow after a canceled inquiry.

    collectionDelegate

    Used to return inquiry data clientside

  • Begin a fallback flow from in memory data.

    Declaration

    Swift

    public init(
        fallbackTemplateUrl url: URL,
        referenceId: String? = nil,
        initialStepName: String? = nil,
        collectionDelegate: InquiryCollectionDelegate? = nil
    )

    Parameters

    url

    The network url to fetch and deserialize into a fallback template.

    referenceId

    Optional unique id to associate with the inquiry.

    initialStepName

    Used to resume flow after a canceled inquiry.

    collectionDelegate

    Used to return inquiry data clientside