Coffrify. Resources. Collections
(Coffrify v0.9.0)
View Source
Collections — public landing pages bundling multiple transfers.
Summary
Functions
Add a transfer to the collection.
Create a collection.
Delete a collection.
Get a collection (with items and sections).
List collections.
List the items (transfers) of a collection.
Remove an item from a collection.
Update a collection.
Functions
@spec add_item(Coffrify.t(), String.t(), map() | keyword()) :: {:ok, map()} | {:error, Exception.t()}
Add a transfer to the collection.
@spec create(Coffrify.t(), map() | keyword()) :: {:ok, map()} | {:error, Exception.t()}
Create a collection.
@spec delete(Coffrify.t(), String.t()) :: {:ok, map()} | {:error, Exception.t()}
Delete a collection.
@spec get(Coffrify.t(), String.t()) :: {:ok, map()} | {:error, Exception.t()}
Get a collection (with items and sections).
@spec list(Coffrify.t()) :: {:ok, map()} | {:error, Exception.t()}
List collections.
@spec list_items(Coffrify.t(), String.t()) :: {:ok, map()} | {:error, Exception.t()}
List the items (transfers) of a collection.
@spec remove_item(Coffrify.t(), String.t(), String.t()) :: {:ok, map()} | {:error, Exception.t()}
Remove an item from a collection.
@spec update(Coffrify.t(), String.t(), map()) :: {:ok, map()} | {:error, Exception.t()}
Update a collection.