TargetObject

public struct TargetObject : Codable, Equatable

Struct representing an Offer target object’s related values.

  • Undocumented

    Declaration

    Swift

    public var targetType: String
  • Undocumented

    Declaration

    Swift

    public var responseType: String
  • Undocumented

    Declaration

    Swift

    public var startPeriod: String
  • Undocumented

    Declaration

    Swift

    public var endPeriod: String
  • Undocumented

    Declaration

    Swift

    public var metric: String
  • Undocumented

    Declaration

    Swift

    public var metricName: String
  • Undocumented

    Declaration

    Swift

    public var metricAmount: String
  • Undocumented

    Declaration

    Swift

    public var metricDisplayName: String
  • Undocumented

    Declaration

    Swift

    public var respondable: Bool
  • Undocumented

    Declaration

    Swift

    public var heading: String
  • Undocumented

    Declaration

    Swift

    public var body: String
  • Undocumented

    Declaration

    Swift

    public var details: String
  • Undocumented

    Declaration

    Swift

    public var subheading: String
  • Undocumented

    Declaration

    Swift

    public var imageUrl: String
  • Undocumented

    Declaration

    Swift

    public var thumbImageUrl: String
  • Undocumented

    Declaration

    Swift

    public init(targetType: String, responseType: String, startPeriod: String, endPeriod: String,
                metric: String, metricName: String, metricAmount: String, metricDisplayName: String,
                respondable: Bool, heading: String, body: String, details: String, subheading: String,
                imageUrl: String, thumbImageUrl: String)
  • Declaration

    Swift

    public init(from decoder: Decoder) throws