GetOption

GetOption customizes one GetFinancialContribution call.

On this page

GetOption customizes one GetFinancialContribution call.

type GetOption func(*getConfig)

Functions#

WithCacheTTL#

func WithCacheTTL(d time.Duration) GetOption

WithCacheTTL overrides the client's CacheTTL for one call. Zero always refreshes (unless a Retry-After from the API is still in force).

View source