Class BoughtModule
Represents a module that a tenant has bought.
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: IRM.AspNetCore.Identity
Assembly: IRM.AspNetCore.Identity.dll
Syntax
public class BoughtModule
Properties
BoughtDate
Gets the date when the tenant bought the module.
Declaration
public DateTime BoughtDate { get; }
Property Value
System.DateTime
|
Module
ModuleId
Gets the identity of the module.
Declaration
public Guid ModuleId { get; }
Property Value
System.Guid
|
Status
Gets the BoughtModuleStatus of this bought module.
Declaration
public BoughtModuleStatus Status { get; }
Property Value
BoughtModuleStatus
|
TenantId
Gets the identity of the tenant.
Declaration
public Guid TenantId { get; }
Property Value
System.Guid
|
Methods
SetAsPayed()
Sets the module as payed, which will open the functionallity from this module for users in the specified tenant.
Declaration
public void SetAsPayed()
SetAsUnpayed()
Sets the module as unpayed, which will have the effect that no functionallity from this module can be used by a user from the tenant.
Declaration
public void SetAsUnpayed()
Terminate()
Terminates the use of a module for the tenant.
Declaration
public void Terminate()