ULInsurance

data class ULInsurance(val type: ULInsuranceType? = null, val price: Int? = null) : Serializable

Class to represent a trip insurance.

Constructors

Link copied to clipboard
fun ULInsurance(type: ULInsuranceType? = null, price: Int? = null)

Init method to create a ULInsurance object with the given parameters

Properties

Link copied to clipboard
val price: Int? = null

Price of the insurance

Link copied to clipboard
val type: ULInsuranceType? = null

Option of insurance type e.g. ULInsuranceTypeCancellation