FTLCampaignType
Enum containing the different campaign type handled by FTPay
Contents
points
giftcard
events
earned
buyx
all
description
public enum FTLCampaignType : String, CustomStringConvertible, Codable
points
case points = "points"
Points campaigns
giftcard
case giftcard = "giftcard"
Card based campaign
events
case events = "events"
Event based campaign
earned
case earned = "earned"
Earned based campaign
buyx
case buyx = "buyx"
Bux multiplier campaign
all
case all = "all"
All Types campaign
description
public var description: String
Human readable description
FTLError
FTPay Error enum returned by any CompletionBlock, can be either of case .framework(string) or .network(Error) ~ NSError with .userInfo dictionary
Contents
framework(msg:)
network(error:)
description
public enum FTLError : Error, CustomStringConvertible
framework(msg:)
case framework(msg: String)
internal framework error
network(error:)
case network(error: Error?)
Network or remote errors case
description
public var description : String
Human readable description of the error