AttributeCombination

public struct AttributeCombination : Codable, Equatable

Struct representing Reward Attribute Combination related values.

  • id

    Value representing the entity id.

    Declaration

    Swift

    public var id: Int
  • sku

    The reward’s stock keeping unit.

    Declaration

    Swift

    public var sku: String
  • The reward main image url.

    Declaration

    Swift

    public var imageUrl: String
  • The reward thumbnail image url.

    Declaration

    Swift

    public var thumbnailUrl: String
  • The metric name used for the reward.

    Declaration

    Swift

    public var metricName: String
  • The metric amount for the reward.

    Declaration

    Swift

    public var metricAmount: String
  • The reward attribute combination values.

    Declaration

    Swift

    public var values: [String]
  • Bool value that specifies if reward is respondable.

    Declaration

    Swift

    public var respondable: Bool
  • Undocumented

    Declaration

    Swift

    public init(id: Int, sku: String, imageUrl: String, thumbnailUrl: String,
                metricName: String, metricAmount: String, values: [String], respondable: Bool)
  • Declaration

    Swift

    public init(from decoder: Decoder) throws