Attribute
public struct Attribute : Codable, Equatable
                Struct representing Product Attribute related values.
- 
                  
                  
Value representing the entity id.
Declaration
Swift
public var id: Int - 
                  
                  
The attribute’s printable label.
Declaration
Swift
public var label: String - 
                  
                  
Currently-selected option for the order. Can be nil if default is selected.
Declaration
Swift
public var selectedOption: Product.AttributeOption? - 
                  
                  
A list of all valid selections for the attribute’s value.
Declaration
Swift
public var attributeOptions: [Product.AttributeOption] - 
                  
                  
Undocumented
Declaration
Swift
public init(id: Int, label: String, selectedOption: Product.AttributeOption?, attributeOptions: [Product.AttributeOption]) - 
                  
                  
Declaration
Swift
public init(from decoder: Decoder) throws 
View on GitHub
        Attribute Structure Reference