@ihreapotheken/ia-sdk-react-native - v1.0.0
    Preparing search index...

    Class IaSdk

    Base definitions for the ia.de SDK service, including any relevant methods, fields, and callbacks.

    Index

    Constructors

    Methods

    • Clears the user cart.

      Returns Promise<void>

    • Closes all overlaying ia.de screen contents.

      Returns Promise<void>

    • Allocate the resources required for the ia.de SDK runtime execution.

      The method must be called before accessing any additional SDK resources.

      Parameters

      • accessKey: string

        Authentication key used to identify the host app.

      • clientId: string

        Client identifier used for pharmacy selection services.

      • serverEnvironment: ServerEnvironment

        Specified server environment for the ia.de services.

      Returns Promise<void>

    • Returns Promise<void>

    • Forwards the client personal information to the ia.de library for checkout purposes.

      Parameters

      • salutation: Salutation

        Customer pronouns.

      • firstName: string

        First / personal customer name.

      • lastName: string

        Last name or customer surname.

      • email: string

        Email address used for communication purposes.

      • phoneNumberCountryCode: number

        Phone number country code (e.g., 49).

      • phoneNumberWithoutCountryCode: number

        Phone number without country code.

      Returns Promise<void>

    • Launches the dashboard screen on top of the navigation stack.

      Returns Promise<void>

    • Transfers a collection of prescription entries to the ia.de backend for checkout purposes.

      Parameters

      • images: string[] | null

        Base64-encoded PDF or JPG images.

      • pdfs: string[] | null

        Base64-encoded PDF files.

      • codes: string[] | null

        JSON-encoded eRezept codes (e.g., ["{\"urls\":[\"Task/test9ba2fee0d07e4ef2b6205f8012e1445b/$accept?ac=5e24cc059ff244bdbb01efcccf834a6329bdac67a4a64733938fe1b799ac19a9\"]}"]).

      • orderId: string | null

        Client order identifier forwarded in order to differentiate between orders on checkout completion.

      Returns Promise<void>