TimeFrame

data class TimeFrame(val startDate: String? = null, val endDate: String? = null)

Represents a time period for an agreement or promotion. This class defines the validity period for payment method agreements, promotions, or special conditions.

Parameters

startDate

Start date of the time period (ISO format)

endDate

End date of the time period (ISO format)

Example:

val timeFrame = TimeFrame(
startDate = "2024-01-01",
endDate = "2024-12-31"
)

Constructors

Link copied to clipboard
constructor(startDate: String? = null, endDate: String? = null)

Properties

Link copied to clipboard
val endDate: String? = null
Link copied to clipboard
val startDate: String? = null