ViProductSchemaMapping
public struct ViProductSchemaMapping
Mapping from data feed schema to product fields for displaying in a single product card UI element Refer to http://developers.visenze.com/setup/#Configure-schema-fields for more details
-
mapping for product image url, default to im_url
Declaration
Swift
public var productUrl : String = "im_url"
-
mapping for heading e.g. product title or product name
Declaration
Swift
public var heading : String? = nil
-
mapping for label field e.g product brand
Declaration
Swift
public var label : String? = nil
-
mapping for product price field
Declaration
Swift
public var price: String? = nil
-
mapping for discount price field
Declaration
Swift
public var discountPrice: String? = nil
-
constructor
Declaration
Swift
public init()
-
construct fl meta array to be passed to search API the meta data will then be returned in ViSenze search API response Refers to this link for more details: http://developers.visenze.com/api/?shell#advanced-parameters
Declaration
Swift
public func getMetaArrForSearch() -> [String]