Tink.CostOfLiving (Tink v1.0.0)

Copy Markdown View Source

Cost-of-living analysis. Requires cost-of-living:read and cost-of-living:write scopes.

Summary

Functions

Get transactions for a cost-of-living entry. Requires cost-of-living:read.

List cost-of-living entries. Requires cost-of-living:read.

Update a cost-of-living entry. Requires cost-of-living:write.

Functions

get_transactions(client, cost_of_living_id)

@spec get_transactions(Tink.Client.t(), String.t()) ::
  {:ok, map()} | {:error, Tink.Error.t()}

Get transactions for a cost-of-living entry. Requires cost-of-living:read.

list(client)

@spec list(Tink.Client.t()) :: {:ok, map()} | {:error, Tink.Error.t()}

List cost-of-living entries. Requires cost-of-living:read.

update(client, cost_of_living_id, params)

@spec update(Tink.Client.t(), String.t(), map()) ::
  {:ok, map()} | {:error, Tink.Error.t()}

Update a cost-of-living entry. Requires cost-of-living:write.