CarPolicy

public final class CarPolicy

A list of policies that apply to this car rental.

Parameters

categoryCode

The category that this policy applies to (e.g. cancellation, drivers license requirements, driver age requirements)

policyText

The raw text of the policy.This is generally localized into the requested language, but may be English if no other translations are available.

Constructors

Link copied to clipboard
public CarPolicy CarPolicy(String categoryCode, String policyText)

Types

Link copied to clipboard
public final class Builder

Properties

Link copied to clipboard
@NotNull()
@Valid()
private final String categoryCode
Link copied to clipboard
@Valid()
private final String policyText

Functions

Link copied to clipboard
public final static CarPolicy.Builder builder()
Link copied to clipboard
public final String getCategoryCode()
Link copied to clipboard
public final String getPolicyText()
Link copied to clipboard