FTMCPerson

Properties

description
public var description : String

Human readable description

FTMCToken

Methods

setCurrentToken(_:)
public static func setCurrentToken(_ token : FTMCToken?) -> Bool

Sets a new Token

  • Parameter token: Fintiv MobileCommerce token to be set
  • Returns: return true if succeful store securely

Parameters

Name Description
token Fintiv MobileCommerce token to be set
currentToken()
public static func currentToken() -> FTMCToken?

Retrieves the current Token, if any

  • Returns: Fintiv token, if any
isExpired()
@objc public func isExpired() -> Bool

Whether the token’s expiration date has passed

  • Returns: true if the token’s expiration date is in the past
renewIfNeeded()
public func renewIfNeeded()

Convenience method or renew the session token if needed