Rating

public final class Rating

The rating of the car being offered.

Parameters

ratingPercentage

The percentage of rating.

ratingCount

The total count of rating.

ratingDetails

List of all the details of rating.

Constructors

Link copied to clipboard
public Rating Rating(String ratingPercentage, String ratingCount, List<RatingDetails> ratingDetails)

Types

Link copied to clipboard
public final class Builder

Properties

Link copied to clipboard
@NotNull()
@Valid()
private final String ratingCount
Link copied to clipboard
@Valid()
private final List<RatingDetails> ratingDetails
Link copied to clipboard
@NotNull()
@Valid()
private final String ratingPercentage

Functions

Link copied to clipboard
public final static Rating.Builder builder()
Link copied to clipboard
public final String getRatingCount()
Link copied to clipboard
Link copied to clipboard
public final String getRatingPercentage()
Link copied to clipboard
public final Rating.Builder toBuilder()