ErxTaskOrder

public struct ErxTaskOrder : Equatable, Codable

Data Model that holds all relevant informations for placing an order in a pharmacy

  • ErxTaskOrder identifier

    Declaration

    Swift

    public let identifier: String
  • Task Id for the prescription

    Declaration

    Swift

    public let erxTaskId: String
  • Access Code of the prescription

    Declaration

    Swift

    public let accessCode: String
  • Identifier of the pharmacy where order will be issued

    Declaration

    Swift

    public let pharmacyTelematikId: String
  • Contains informations about the user and the selected redeem option

    Declaration

    Swift

    public let payload: Payload
  • Default initializer to instantiate an ErxTask order.

    Declaration

    Swift

    public init(identifier: String,
                erxTaskId: String,
                accessCode: String,
                pharmacyTelematikId: String,
                payload: Payload)

    Parameters

    identifier

    ErxTaskOrder identifier

    erxTaskId

    Id of the ErxTask to order

    accessCode

    AccessCode of the prescription that should be redeemed

    pharmacyTelematikId

    Telematik-ID for the pharmacy in which the order will be placed

    payloadJSON

    Informations about the users address and the selected redeem option

  • Declaration

    Swift

    public struct Payload : Codable, Equatable
  • Declaration

    Swift

    public enum Error : Swift.Error