TinkMoneyManagerUI Documentation Beta

Protocol Actionable​Insight​Service

public protocol ActionableInsightService

Requirements

insights(completion:​)

func insights(completion: @escaping (Result<[ActionableInsight], Error>) -> Void) -> RetryCancellable?

archived​Insights(completion:​)

func archivedInsights(completion: @escaping (Result<[ActionableInsight], Error>) -> Void) -> RetryCancellable?

select(_:​for​Insight​With​ID:​completion:​)

func select(_ insightAction: ActionableInsight.InsightAction, forInsightWithID insightID: ActionableInsight.ID, completion: @escaping (Result<Void, Error>) -> Void) -> RetryCancellable?

select​Action(insight​Action:​insight​ID:​completion:​)

@available(*, deprecated, message: "Use select(_:forInsightWithID:completion:) method instead.") func selectAction(insightAction: String, insightID: ActionableInsight.ID, completion: @escaping (Result<Void, Error>) -> Void) -> RetryCancellable?

archive(id:​completion:​)

@available(*, deprecated, message: "Use select(_:forInsightWithID:completion:) method instead.") func archive(id: ActionableInsight.ID, completion: @escaping (Result<Void, Error>) -> Void) -> RetryCancellable?