What the admin payments pages and API read: the stats, provider configuration status, and filtered listings of products, purchases, entitlements, provider events and reconciliation cursors.
Split out of Gamend.Payments, which still exposes every function here under
the same name.
Summary
Functions
@spec admin_stats() :: map()
@spec count_entitlements(keyword()) :: non_neg_integer()
@spec count_products(keyword()) :: non_neg_integer()
@spec count_provider_events(keyword()) :: non_neg_integer()
@spec count_provider_products(keyword()) :: non_neg_integer()
@spec count_purchases(keyword()) :: non_neg_integer()
@spec count_reconciliation_cursors(keyword()) :: non_neg_integer()
@spec list_admin_entitlements(keyword()) :: [Gamend.Payments.Entitlement.t()]
@spec list_admin_products(keyword()) :: [Gamend.Payments.Product.t()]
@spec list_admin_provider_products(keyword()) :: [Gamend.Payments.ProviderProduct.t()]
@spec list_admin_purchases(keyword()) :: [Gamend.Payments.Purchase.t()]
@spec list_provider_events(keyword()) :: [Gamend.Payments.ProviderEvent.t()]
@spec list_reconciliation_cursors(keyword()) :: [ Gamend.Payments.ReconciliationCursor.t() ]
@spec provider_adapter_statuses() :: [map()]
@spec stripe_config_status() :: map()