Class AppBilling
- Namespace
- VpnHood.AppLib.Abstractions.Billing
- Assembly
- VpnHood.AppLib.Abstractions.dll
The in-app purchase capability of an account provider. Purchasing always needs both sides: the store that collects the payment and the backend that reconciles the order and delivers access. Which products the store is asked to price is the backend's answer too — GetProductIds(CancellationToken).
public sealed class AppBilling
- Inheritance
-
AppBilling
- Inherited Members
Properties
OrderProcessor
The backend: turns a completed purchase into delivered access.
public required IOrderProcessor OrderProcessor { get; init; }
Property Value
Provider
The store: prices the products, collects the payment.
public required IBillingProvider Provider { get; init; }