Package-level declarations

Types

Link copied to clipboard
interface GeneralRevenue : Revenue

The GeneralRevenue interface is useful to give the basic details about a general revenue

Link copied to clipboard
@Serializable
data class ProjectRevenue(val id: String, val title: String, val value: Double, val revenueDate: Long, val initialRevenue: Revenue.RevenueImpl, val tickets: List<TicketRevenue> = emptyList()) : Revenue

The ProjectRevenue class is the represent a project revenue

Link copied to clipboard
interface Revenue

The Revenue interface is useful to give the basic details about a revenue

Link copied to clipboard
@Serializable
data class RevenueLabel(val id: String = Uuid.random().toHexString(), val text: String, val color: String)

The RevenueLabel class is useful to represent a label attachable to a GeneralRevenue

Link copied to clipboard
object RevenueSerializer : JsonContentPolymorphicSerializer<Revenue>

The RevenueSerializer object is used as custom serializer to correctly serialize the different revenues types