RatingSystem.Builder

class RatingSystem.Builder


Builder class for RatingSystem.

Summary

Public constructors

Public functions

RatingSystem!
RatingSystem.Builder!

Sets the agency name.

RatingSystem.Builder!

Sets the rating given by the agency.

Public constructors

Builder

Builder()

Public functions

build

fun build(): RatingSystem!

setAgencyName

@CanIgnoreReturnValue
fun setAgencyName(agencyName: String): RatingSystem.Builder!

Sets the agency name.

Required.

setRating

@CanIgnoreReturnValue
fun setRating(rating: String): RatingSystem.Builder!

Sets the rating given by the agency.

Required.