AttributeOption

public struct AttributeOption : Codable, Equatable

Struct representing Product Attribute Option related values.

  • id

    Value representing the entity id.

    Declaration

    Swift

    public var id: Int
  • The option’s printable label.

    Declaration

    Swift

    public var label: String
  • If this option is default for its attribute.

    Declaration

    Swift

    public var isDefault: Bool
  • Undocumented

    Declaration

    Swift

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

    Swift

    public init(from decoder: Decoder) throws