TNEntityDiscoverBrandParams
@objcMembers
open class TNEntityDiscoverBrandParams : NSObject
Undocumented
-
A string value of category id returned by Get Categories API.
Declaration
Swift
public var categoryId: String
-
Limit number of returned results. Default: 10
Declaration
Swift
public var limit: Int
-
A geopoint value of the user’s location using geographic coordinates of latitude and longitude.
Declaration
Swift
public var location: TNEntityGeoPoint?
-
Undocumented
Declaration
Swift
public override init()
-
Undocumented
Declaration
Swift
public init(categoryId: String, location: TNEntityGeoPoint?, limit: Int = 10)
-
Validates all properties.
Declaration
Swift
public func validate() -> (isValid: Bool, message: String)
Return Value
Tuple
(isValid: Bool, message: String)
.isValid
- is true if validation was successfulmessage
- contains error string if validation failed