ShipmentInfo

public struct ShipmentInfo : Identifiable, Hashable, Equatable

Represents the shipment information needed for redeeming a prescription in a pharmacy

  • id

    Declaration

    Swift

    public var id: UUID { get }
  • Declaration

    Swift

    public let identifier: UUID
  • Declaration

    Swift

    public var name: String?
  • Declaration

    Swift

    public var street: String?
  • Declaration

    Swift

    public var addressDetail: String?
  • zip

    Declaration

    Swift

    public var zip: String?
  • Declaration

    Swift

    public var city: String?
  • Declaration

    Swift

    public var phone: String?
  • Declaration

    Swift

    public var mail: String?
  • Declaration

    Swift

    public var deliveryInfo: String?
  • Declaration

    Swift

    public init(
        identifier: UUID = UUID(),
        name: String? = nil,
        street: String? = nil,
        addressDetail: String? = nil,
        zip: String? = nil,
        city: String? = nil,
        phone: String? = nil,
        mail: String? = nil,
        deliveryInfo: String? = nil
    )
  • Declaration

    Swift

    public var address: Address { get }