AttributeOption

public struct AttributeOption : Codable, Equatable

Struct representing Reward Attribute Option related values.

  • id

    Value representing the entity id.

    Declaration

    Swift

    public var id: Int
  • The reward attribute option code.

    Declaration

    Swift

    public var code: String
  • The reward attribute option label.

    Declaration

    Swift

    public var label: String
  • Bool value that specifies if reward attribute option is the defaul value.

    Declaration

    Swift

    public var isDefault: Bool
  • Undocumented

    Declaration

    Swift

    public init(id: Int, code: String, label: String, isDefault: Bool)
  • Declaration

    Swift

    public init(from decoder: Decoder) throws