Adds the payment to the cache (or return the cached payment, if cache
is true).
The payment to add.
If the payment should be cached (or cached payment patched), true
by default.
The resolved payment.
Fetch the payment by its id in the cache or from the Pi Network Platform API.
The payment id to fetch.
If the payment should be cached (or cached payment patched), true
by default.
If the payment should be fetched in the cache, true
by default.
Resolves the data by its key from the cache.
The data's key (id, etc.).
The cached data or undefined
if not found.
Generated using TypeDoc
The cache of the manager.