FTLCampaignTypeEnum containing the different campaign type handled by FTPay
Contents
pointsgiftcardeventsearnedbuyxalldescriptionpublic enum FTLCampaignType : String, CustomStringConvertible, Codable
pointscase points = "points"
Points campaigns
giftcardcase giftcard = "giftcard"
Card based campaign
eventscase events = "events"
Event based campaign
earnedcase earned = "earned"
Earned based campaign
buyxcase buyx = "buyx"
Bux multiplier campaign
allcase all = "all"
All Types campaign
descriptionpublic var description: String
Human readable description
FTLErrorFTPay 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:)descriptionpublic enum FTLError : Error, CustomStringConvertible
framework(msg:)case framework(msg: String)
internal framework error
network(error:)case network(error: Error?)
Network or remote errors case
descriptionpublic var description : String
Human readable description of the error