ZyncProjectMilestone

data class ZyncProjectMilestone(val milestoneUid: String, val projectUid: String, val phaseUid: String? = null, val milestoneTitle: String, val milestoneDescription: String? = null, val milestoneType: ZyncProjectMilestoneType = ZyncProjectMilestoneType.DELIVERABLE, val dueDate: String? = null, val completedDate: String? = null, val milestoneStatus: ZyncProjectMilestoneStatus = ZyncProjectMilestoneStatus.PENDING, val completionPercentage: Int = 0, val progressiveInvoiceUid: String? = null, val invoiceAmount: Double? = null, val createdAt: String, val updatedAt: String? = null)

Domain model representing a project milestone.

Constructors

Link copied to clipboard
constructor(milestoneUid: String, projectUid: String, phaseUid: String? = null, milestoneTitle: String, milestoneDescription: String? = null, milestoneType: ZyncProjectMilestoneType = ZyncProjectMilestoneType.DELIVERABLE, dueDate: String? = null, completedDate: String? = null, milestoneStatus: ZyncProjectMilestoneStatus = ZyncProjectMilestoneStatus.PENDING, completionPercentage: Int = 0, progressiveInvoiceUid: String? = null, invoiceAmount: Double? = null, createdAt: String, updatedAt: String? = null)

Properties

Link copied to clipboard
val completedDate: String? = null
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Get milestone display name.

Link copied to clipboard
val dueDate: String? = null
Link copied to clipboard
val invoiceAmount: Double? = null
Link copied to clipboard

Check if milestone is billable.

Link copied to clipboard

Check if milestone is completed.

Link copied to clipboard

Check if milestone is overdue.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val phaseUid: String? = null
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Get milestone status color.

Link copied to clipboard
val updatedAt: String? = null