Campaign

public struct Campaign : Codable
extension Campaign: MapSelectableEntity
  • id

    Declaration

    Swift

    public let id: String
  • Declaration

    Swift

    public let creatives: [Creative]
  • Declaration

    Swift

    public let homeEntities: [HomeEntity]?
  • Declaration

    Swift

    public let triggers: [Trigger]?
  • Declaration

    Swift

    public let status: String
  • Declaration

    Swift

    public let createdAt: String
  • Declaration

    Swift

    public let updatedAt: String
  • Declaration

    Swift

    public let schedule: Schedule
  • Declaration

    Swift

    public let activationDate: String
  • Declaration

    Swift

    public func inRecents(forSearch: Bool = false) -> Bool
  • Declaration

    Swift

    public func hasHomeEntity(withName entityName: String) -> Bool
  • Declaration

    Swift

    public var isActive: Bool { get }
  • Declaration

    Swift

    public static func dateToUTCString(from date: Date = Date(),
    								   timeZone: String) -> String
  • Declaration

    Swift

    public static func dateFormatter(timeZone: String? = "UTC") -> DateFormatter
  • Declaration

    Swift

    public var modelDataType: ModelType { get }
  • Declaration

    Swift

    public var address: String { get }
  • Declaration

    Swift

    public var entityNameEnglish: String { get }
  • Declaration

    Swift

    public var entityName: String { get }
  • Declaration

    Swift

    public var categoryName: String { get }
  • Declaration

    Swift

    public var subcategoryNames: [String] { get }
  • Declaration

    Swift

    public var logoImageUid: String { get }
  • Declaration

    Swift

    public var logoImageBaseUrl: String { get }
  • Declaration

    Swift

    public var timeHint: MapstedCore.DailyBusinessHours? { get }
  • Declaration

    Swift

    public var coverImages: [String] { get }
  • Declaration

    Swift

    public var entityPropertyId: Int { get }
  • Declaration

    Swift

    public var entityBuildingId: Int { get }
  • Declaration

    Swift

    public var entityIdentifier: Int { get }
  • Declaration

    Swift

    public var entityDescription: String? { get }
  • Declaration

    Swift

    public var dataType: MNDataType { get }
  • Declaration

    Swift

    public var entityZones: [MNEntityZone] { get }
  • Declaration

    Swift

    public var hasAlerts: Bool { get }
  • Declaration

    Swift

    public var timeDescription: String { get set }
  • Declaration

    Swift

    public var phoneNumber: String? { get }
  • Declaration

    Swift

    public var website: String? { get }
  • Declaration

    Swift

    public func tags() -> [String]
  • Declaration

    Swift

    public var campaignLabels: [Labels]? { get }
  • Declaration

    Swift

    public var campaignFeatures: [Features]? { get }
  • Declaration

    Swift

    public var postiveButtonTitle: String? { get }