ViFilterItemCategoryOption
open class ViFilterItemCategoryOption : NSObject
Filter category option similar to
-
Display filter category option e.g. specific brand for a
Brand
filterDeclaration
Swift
public var option: String
-
Internal category value i.e. the actual value that will be compared against stored schema For example, ‘option’ is set to ‘Jeans’ while value in schema database is 'jean’
Declaration
Swift
public var value: String
-
Constructor. Value will be set the same as option
Parameter
Parameter option: Category nameDeclaration
Swift
public init(option: String)
Parameters
option
Category name
-
Constructor
- Parameters:
- option: category name
- value: category actual value that will be sent to server
Declaration
Swift
public init(option: String , value: String)
Parameters
option
category name
value
category actual value that will be sent to server
- Parameters: