EndpointAdminProcurementMock class
Methods
-
listProcuredProducts({required String userEmail})
→ Future<List<(String, String)>>
-
Fetches a user's procured products.
Returns a list of
(String, String) with the product ID and its type.
inherited
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
procurePlan({required String userEmail, required String planProductName, int? planProductVersion, int? trialPeriodOverride, bool? overrideChecks})
→ Future<void>
-
Procures a plan for a user.
If
planProductVersion is not provided, the latest version is used.
If trialPeriodOverride is provided, it will override the trial period (number of days).
If overrideChecks is true, the product availability checks are overridden.
inherited
-
resetStream()
→ void
-
Resets web socket stream, so it's possible to re-listen to endpoint
streams.
inherited
-
sendStreamMessage(SerializableModel message)
→ Future<void>
-
Sends a message to the endpoint's stream.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited