Configuration
public struct Configuration : Codable, Equatable
Struct representing Product Configuration related values.
-
Value representing the entity id.
Declaration
Swift
public var id: Int
-
An array of NSString based on the label of the product attribute options. This is in order to what is listed down as the product’s / component’s attributes.
Declaration
Swift
public var attributeCombination: [String]
-
The current metric name to be used (currency).
Declaration
Swift
public var metricName: String
-
The current cost in terms of the current metric (amount in currency).
Declaration
Swift
public var metricAmount: String
-
Image representing the combinations of the attributes.
Declaration
Swift
public var thumbImageUrl: String
-
Undocumented
Declaration
Swift
public init(id: Int, attributeCombination: [String], metricName: String, metricAmount: String, thumbImageUrl: String)
-
Declaration
Swift
public init(from decoder: Decoder) throws