ClientConfiguration

public struct ClientConfiguration : Codable

A struct representing configuration settings.

This struct holds various configuration options that can be used to customize the behavior and features.

Note: This configuration is intended for internal use in Gini SDKs only.

  • Undocumented

    Declaration

    Swift

    public let clientID: String
  • Undocumented

    Declaration

    Swift

    public let userJourneyAnalyticsEnabled: Bool
  • Undocumented

    Declaration

    Swift

    public let skontoEnabled: Bool
  • Undocumented

    Declaration

    Swift

    public let returnAssistantEnabled: Bool
  • Undocumented

    Declaration

    Swift

    public let transactionDocsEnabled: Bool
  • Undocumented

    Declaration

    Swift

    public let instantPaymentEnabled: Bool
  • Undocumented

    Declaration

    Swift

    public let qrCodeEducationEnabled: Bool
  • Undocumented

    Declaration

    Swift

    public let eInvoiceEnabled: Bool
  • Creates a new ClientConfiguration instance.

    Declaration

    Swift

    public init(clientID: String,
                userJourneyAnalyticsEnabled: Bool,
                skontoEnabled: Bool,
                returnAssistantEnabled: Bool,
                transactionDocsEnabled: Bool,
                instantPaymentEnabled: Bool,
                qrCodeEducationEnabled: Bool,
                eInvoiceEnabled: Bool)

    Parameters

    clientID

    A unique identifier for the client.

    userJourneyAnalyticsEnabled

    A flag indicating whether user journey analytics is enabled.

    skontoEnabled

    A flag indicating whether Skonto is enabled.

    returnAssistantEnabled

    A flag indicating whether the return assistant feature is enabled.

    transactionDocsEnabled

    A flag indicating whether TransactionDocs feature is enabled.

    instantPaymentEnabled

    A flag indicating whether Instant Payment feature is enabled.

    qrCodeEducationEnabled

    A flag indicating whether QR code education is enabled.

    eInvoiceEnabled

    A flag indicating whether the E-Invoice feature is enabled.