FTLCampaignType

Enum containing the different campaign type handled by FTPay

Contents

public enum FTLCampaignType : String, CustomStringConvertible, Codable

Cases

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

Properties

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

public enum FTLError : Error, CustomStringConvertible

Cases

framework(msg:)

case framework(msg: String)

internal framework error

network(error:)

case network(error: Error?)

Network or remote errors case

Properties

description
public var description : String

Human readable description of the error