RiderCategory

data class RiderCategory(val riderCategoryId: String, val riderCategoryName: String, val isDefaultFareCategory: IntBoolean, val eligibilityUrl: Url? = null)(source)

Describes various rider categories that can be used for fare eligibility.

This class represents a record in the rider_categories.txt file.

Constructors

Link copied to clipboard
constructor(riderCategoryId: String, riderCategoryName: String, isDefaultFareCategory: IntBoolean, eligibilityUrl: Url? = null)

Properties

Link copied to clipboard
@SerialName(value = "eligibility_url")
val eligibilityUrl: Url?

URL describing the eligibility requirements for the rider category.

Link copied to clipboard
@SerialName(value = "is_default_fare_category")
val isDefaultFareCategory: IntBoolean

Indicates if this rider category is the default.

Link copied to clipboard
@SerialName(value = "rider_category_id")
val riderCategoryId: String

Identifies a rider category.

Link copied to clipboard
@SerialName(value = "rider_category_name")
val riderCategoryName: String

Name of the rider category.