Package com.adyen.model.payment
Class AdditionalDataCarRental
- java.lang.Object
-
- com.adyen.model.payment.AdditionalDataCarRental
-
public class AdditionalDataCarRental extends Object
AdditionalDataCarRental
-
-
Field Summary
-
Constructor Summary
Constructors Constructor Description AdditionalDataCarRental()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AdditionalDataCarRentalcarRentalCheckOutDate(String carRentalCheckOutDate)AdditionalDataCarRentalcarRentalCustomerServiceTollFreeNumber(String carRentalCustomerServiceTollFreeNumber)AdditionalDataCarRentalcarRentalDaysRented(String carRentalDaysRented)AdditionalDataCarRentalcarRentalFuelCharges(String carRentalFuelCharges)AdditionalDataCarRentalcarRentalInsuranceCharges(String carRentalInsuranceCharges)AdditionalDataCarRentalcarRentalLocationCity(String carRentalLocationCity)AdditionalDataCarRentalcarRentalLocationCountry(String carRentalLocationCountry)AdditionalDataCarRentalcarRentalLocationStateProvince(String carRentalLocationStateProvince)AdditionalDataCarRentalcarRentalNoShowIndicator(String carRentalNoShowIndicator)AdditionalDataCarRentalcarRentalOneWayDropOffCharges(String carRentalOneWayDropOffCharges)AdditionalDataCarRentalcarRentalRate(String carRentalRate)AdditionalDataCarRentalcarRentalRateIndicator(String carRentalRateIndicator)AdditionalDataCarRentalcarRentalRentalAgreementNumber(String carRentalRentalAgreementNumber)AdditionalDataCarRentalcarRentalRentalClassId(String carRentalRentalClassId)AdditionalDataCarRentalcarRentalRenterName(String carRentalRenterName)AdditionalDataCarRentalcarRentalReturnCity(String carRentalReturnCity)AdditionalDataCarRentalcarRentalReturnCountry(String carRentalReturnCountry)AdditionalDataCarRentalcarRentalReturnDate(String carRentalReturnDate)AdditionalDataCarRentalcarRentalReturnLocationId(String carRentalReturnLocationId)AdditionalDataCarRentalcarRentalReturnStateProvince(String carRentalReturnStateProvince)AdditionalDataCarRentalcarRentalTaxExemptIndicator(String carRentalTaxExemptIndicator)booleanequals(Object o)Return true if this AdditionalDataCarRental object is equal to o.static AdditionalDataCarRentalfromJson(String jsonString)Create an instance of AdditionalDataCarRental given an JSON stringStringgetCarRentalCheckOutDate()The pick-up date.StringgetCarRentalCustomerServiceTollFreeNumber()The customer service phone number of the car rental company.StringgetCarRentalDaysRented()Number of days for which the car is being rented.StringgetCarRentalFuelCharges()Any fuel charges associated with the rental, in [minor units](https://docs.adyen.com/development-resources/currency-codes).StringgetCarRentalInsuranceCharges()Any insurance charges associated with the rental, in [minor units](https://docs.adyen.com/development-resources/currency-codes).StringgetCarRentalLocationCity()The city where the car is rented.StringgetCarRentalLocationCountry()The country where the car is rented, in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format.StringgetCarRentalLocationStateProvince()The state or province where the car is rented.StringgetCarRentalNoShowIndicator()Indicates if the customer didn't pick up their rental car.StringgetCarRentalOneWayDropOffCharges()The charge for not returning a car to the original rental location, in [minor units](https://docs.adyen.com/development-resources/currency-codes).StringgetCarRentalRate()The daily rental rate, in [minor units](https://docs.adyen.com/development-resources/currency-codes).StringgetCarRentalRateIndicator()Specifies whether the given rate is applied daily or weekly.StringgetCarRentalRentalAgreementNumber()The rental agreement number for the car rental.StringgetCarRentalRentalClassId()The classification of the rental car.StringgetCarRentalRenterName()The name of the person renting the car.StringgetCarRentalReturnCity()The city where the car must be returned.StringgetCarRentalReturnCountry()The country where the car must be returned, in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format.StringgetCarRentalReturnDate()The last date to return the car by.StringgetCarRentalReturnLocationId()The agency code, phone number, or address abbreviation * Format: Alphanumeric * maxLength: 10 * Must not start with a space or be all spaces *Must not be all zeros.StringgetCarRentalReturnStateProvince()The state or province where the car must be returned.StringgetCarRentalTaxExemptIndicator()Indicates if the goods or services were tax-exempt, or if tax was not paid on them.StringgetTravelEntertainmentAuthDataDuration()Number of days the car is rented for.StringgetTravelEntertainmentAuthDataMarket()Indicates what market-specific dataset will be submitted or is being submitted.inthashCode()voidsetCarRentalCheckOutDate(String carRentalCheckOutDate)The pick-up date.voidsetCarRentalCustomerServiceTollFreeNumber(String carRentalCustomerServiceTollFreeNumber)The customer service phone number of the car rental company.voidsetCarRentalDaysRented(String carRentalDaysRented)Number of days for which the car is being rented.voidsetCarRentalFuelCharges(String carRentalFuelCharges)Any fuel charges associated with the rental, in [minor units](https://docs.adyen.com/development-resources/currency-codes).voidsetCarRentalInsuranceCharges(String carRentalInsuranceCharges)Any insurance charges associated with the rental, in [minor units](https://docs.adyen.com/development-resources/currency-codes).voidsetCarRentalLocationCity(String carRentalLocationCity)The city where the car is rented.voidsetCarRentalLocationCountry(String carRentalLocationCountry)The country where the car is rented, in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format.voidsetCarRentalLocationStateProvince(String carRentalLocationStateProvince)The state or province where the car is rented.voidsetCarRentalNoShowIndicator(String carRentalNoShowIndicator)Indicates if the customer didn't pick up their rental car.voidsetCarRentalOneWayDropOffCharges(String carRentalOneWayDropOffCharges)The charge for not returning a car to the original rental location, in [minor units](https://docs.adyen.com/development-resources/currency-codes).voidsetCarRentalRate(String carRentalRate)The daily rental rate, in [minor units](https://docs.adyen.com/development-resources/currency-codes).voidsetCarRentalRateIndicator(String carRentalRateIndicator)Specifies whether the given rate is applied daily or weekly.voidsetCarRentalRentalAgreementNumber(String carRentalRentalAgreementNumber)The rental agreement number for the car rental.voidsetCarRentalRentalClassId(String carRentalRentalClassId)The classification of the rental car.voidsetCarRentalRenterName(String carRentalRenterName)The name of the person renting the car.voidsetCarRentalReturnCity(String carRentalReturnCity)The city where the car must be returned.voidsetCarRentalReturnCountry(String carRentalReturnCountry)The country where the car must be returned, in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format.voidsetCarRentalReturnDate(String carRentalReturnDate)The last date to return the car by.voidsetCarRentalReturnLocationId(String carRentalReturnLocationId)The agency code, phone number, or address abbreviation * Format: Alphanumeric * maxLength: 10 * Must not start with a space or be all spaces *Must not be all zeros.voidsetCarRentalReturnStateProvince(String carRentalReturnStateProvince)The state or province where the car must be returned.voidsetCarRentalTaxExemptIndicator(String carRentalTaxExemptIndicator)Indicates if the goods or services were tax-exempt, or if tax was not paid on them.voidsetTravelEntertainmentAuthDataDuration(String travelEntertainmentAuthDataDuration)Number of days the car is rented for.voidsetTravelEntertainmentAuthDataMarket(String travelEntertainmentAuthDataMarket)Indicates what market-specific dataset will be submitted or is being submitted.StringtoJson()Convert an instance of AdditionalDataCarRental to an JSON stringStringtoString()AdditionalDataCarRentaltravelEntertainmentAuthDataDuration(String travelEntertainmentAuthDataDuration)AdditionalDataCarRentaltravelEntertainmentAuthDataMarket(String travelEntertainmentAuthDataMarket)
-
-
-
Field Detail
-
JSON_PROPERTY_CAR_RENTAL_CHECK_OUT_DATE
public static final String JSON_PROPERTY_CAR_RENTAL_CHECK_OUT_DATE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CAR_RENTAL_CUSTOMER_SERVICE_TOLL_FREE_NUMBER
public static final String JSON_PROPERTY_CAR_RENTAL_CUSTOMER_SERVICE_TOLL_FREE_NUMBER
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CAR_RENTAL_DAYS_RENTED
public static final String JSON_PROPERTY_CAR_RENTAL_DAYS_RENTED
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CAR_RENTAL_FUEL_CHARGES
public static final String JSON_PROPERTY_CAR_RENTAL_FUEL_CHARGES
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CAR_RENTAL_INSURANCE_CHARGES
public static final String JSON_PROPERTY_CAR_RENTAL_INSURANCE_CHARGES
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CAR_RENTAL_LOCATION_CITY
public static final String JSON_PROPERTY_CAR_RENTAL_LOCATION_CITY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CAR_RENTAL_LOCATION_COUNTRY
public static final String JSON_PROPERTY_CAR_RENTAL_LOCATION_COUNTRY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CAR_RENTAL_LOCATION_STATE_PROVINCE
public static final String JSON_PROPERTY_CAR_RENTAL_LOCATION_STATE_PROVINCE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CAR_RENTAL_NO_SHOW_INDICATOR
public static final String JSON_PROPERTY_CAR_RENTAL_NO_SHOW_INDICATOR
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CAR_RENTAL_ONE_WAY_DROP_OFF_CHARGES
public static final String JSON_PROPERTY_CAR_RENTAL_ONE_WAY_DROP_OFF_CHARGES
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CAR_RENTAL_RATE
public static final String JSON_PROPERTY_CAR_RENTAL_RATE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CAR_RENTAL_RATE_INDICATOR
public static final String JSON_PROPERTY_CAR_RENTAL_RATE_INDICATOR
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CAR_RENTAL_RENTAL_AGREEMENT_NUMBER
public static final String JSON_PROPERTY_CAR_RENTAL_RENTAL_AGREEMENT_NUMBER
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CAR_RENTAL_RENTAL_CLASS_ID
public static final String JSON_PROPERTY_CAR_RENTAL_RENTAL_CLASS_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CAR_RENTAL_RENTER_NAME
public static final String JSON_PROPERTY_CAR_RENTAL_RENTER_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CAR_RENTAL_RETURN_CITY
public static final String JSON_PROPERTY_CAR_RENTAL_RETURN_CITY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CAR_RENTAL_RETURN_COUNTRY
public static final String JSON_PROPERTY_CAR_RENTAL_RETURN_COUNTRY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CAR_RENTAL_RETURN_DATE
public static final String JSON_PROPERTY_CAR_RENTAL_RETURN_DATE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CAR_RENTAL_RETURN_LOCATION_ID
public static final String JSON_PROPERTY_CAR_RENTAL_RETURN_LOCATION_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CAR_RENTAL_RETURN_STATE_PROVINCE
public static final String JSON_PROPERTY_CAR_RENTAL_RETURN_STATE_PROVINCE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CAR_RENTAL_TAX_EXEMPT_INDICATOR
public static final String JSON_PROPERTY_CAR_RENTAL_TAX_EXEMPT_INDICATOR
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TRAVEL_ENTERTAINMENT_AUTH_DATA_DURATION
public static final String JSON_PROPERTY_TRAVEL_ENTERTAINMENT_AUTH_DATA_DURATION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TRAVEL_ENTERTAINMENT_AUTH_DATA_MARKET
public static final String JSON_PROPERTY_TRAVEL_ENTERTAINMENT_AUTH_DATA_MARKET
- See Also:
- Constant Field Values
-
-
Method Detail
-
carRentalCheckOutDate
public AdditionalDataCarRental carRentalCheckOutDate(String carRentalCheckOutDate)
-
getCarRentalCheckOutDate
public String getCarRentalCheckOutDate()
The pick-up date. * Date format: `yyyyMMdd`- Returns:
- carRentalCheckOutDate
-
setCarRentalCheckOutDate
public void setCarRentalCheckOutDate(String carRentalCheckOutDate)
The pick-up date. * Date format: `yyyyMMdd`- Parameters:
carRentalCheckOutDate-
-
carRentalCustomerServiceTollFreeNumber
public AdditionalDataCarRental carRentalCustomerServiceTollFreeNumber(String carRentalCustomerServiceTollFreeNumber)
-
getCarRentalCustomerServiceTollFreeNumber
public String getCarRentalCustomerServiceTollFreeNumber()
The customer service phone number of the car rental company. * Format: Alphanumeric * maxLength: 17 * For US and CA numbers must be 10 characters in length * Must not start with a space * Must not contain any special characters such as + or - *Must not be all zeros.- Returns:
- carRentalCustomerServiceTollFreeNumber
-
setCarRentalCustomerServiceTollFreeNumber
public void setCarRentalCustomerServiceTollFreeNumber(String carRentalCustomerServiceTollFreeNumber)
The customer service phone number of the car rental company. * Format: Alphanumeric * maxLength: 17 * For US and CA numbers must be 10 characters in length * Must not start with a space * Must not contain any special characters such as + or - *Must not be all zeros.- Parameters:
carRentalCustomerServiceTollFreeNumber-
-
carRentalDaysRented
public AdditionalDataCarRental carRentalDaysRented(String carRentalDaysRented)
-
getCarRentalDaysRented
public String getCarRentalDaysRented()
Number of days for which the car is being rented. * Format: Numeric * maxLength: 4 * Must not be all spaces- Returns:
- carRentalDaysRented
-
setCarRentalDaysRented
public void setCarRentalDaysRented(String carRentalDaysRented)
Number of days for which the car is being rented. * Format: Numeric * maxLength: 4 * Must not be all spaces- Parameters:
carRentalDaysRented-
-
carRentalFuelCharges
public AdditionalDataCarRental carRentalFuelCharges(String carRentalFuelCharges)
-
getCarRentalFuelCharges
public String getCarRentalFuelCharges()
Any fuel charges associated with the rental, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Format: Numeric * maxLength: 12- Returns:
- carRentalFuelCharges
-
setCarRentalFuelCharges
public void setCarRentalFuelCharges(String carRentalFuelCharges)
Any fuel charges associated with the rental, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Format: Numeric * maxLength: 12- Parameters:
carRentalFuelCharges-
-
carRentalInsuranceCharges
public AdditionalDataCarRental carRentalInsuranceCharges(String carRentalInsuranceCharges)
-
getCarRentalInsuranceCharges
public String getCarRentalInsuranceCharges()
Any insurance charges associated with the rental, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Format: Numeric * maxLength: 12 * Must not be all spaces *Must not be all zeros.- Returns:
- carRentalInsuranceCharges
-
setCarRentalInsuranceCharges
public void setCarRentalInsuranceCharges(String carRentalInsuranceCharges)
Any insurance charges associated with the rental, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Format: Numeric * maxLength: 12 * Must not be all spaces *Must not be all zeros.- Parameters:
carRentalInsuranceCharges-
-
carRentalLocationCity
public AdditionalDataCarRental carRentalLocationCity(String carRentalLocationCity)
-
getCarRentalLocationCity
public String getCarRentalLocationCity()
The city where the car is rented. * Format: Alphanumeric * maxLength: 18 * Must not start with a space or be all spaces *Must not be all zeros.- Returns:
- carRentalLocationCity
-
setCarRentalLocationCity
public void setCarRentalLocationCity(String carRentalLocationCity)
The city where the car is rented. * Format: Alphanumeric * maxLength: 18 * Must not start with a space or be all spaces *Must not be all zeros.- Parameters:
carRentalLocationCity-
-
carRentalLocationCountry
public AdditionalDataCarRental carRentalLocationCountry(String carRentalLocationCountry)
-
getCarRentalLocationCountry
public String getCarRentalLocationCountry()
The country where the car is rented, in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format. * Format: Alphanumeric * maxLength: 2- Returns:
- carRentalLocationCountry
-
setCarRentalLocationCountry
public void setCarRentalLocationCountry(String carRentalLocationCountry)
The country where the car is rented, in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format. * Format: Alphanumeric * maxLength: 2- Parameters:
carRentalLocationCountry-
-
carRentalLocationStateProvince
public AdditionalDataCarRental carRentalLocationStateProvince(String carRentalLocationStateProvince)
-
getCarRentalLocationStateProvince
public String getCarRentalLocationStateProvince()
The state or province where the car is rented. * Format: Alphanumeric * maxLength: 2 * Must not start with a space or be all spaces *Must not be all zeros.- Returns:
- carRentalLocationStateProvince
-
setCarRentalLocationStateProvince
public void setCarRentalLocationStateProvince(String carRentalLocationStateProvince)
The state or province where the car is rented. * Format: Alphanumeric * maxLength: 2 * Must not start with a space or be all spaces *Must not be all zeros.- Parameters:
carRentalLocationStateProvince-
-
carRentalNoShowIndicator
public AdditionalDataCarRental carRentalNoShowIndicator(String carRentalNoShowIndicator)
-
getCarRentalNoShowIndicator
public String getCarRentalNoShowIndicator()
Indicates if the customer didn't pick up their rental car. * Y - Customer did not pick up their car * N - Not applicable- Returns:
- carRentalNoShowIndicator
-
setCarRentalNoShowIndicator
public void setCarRentalNoShowIndicator(String carRentalNoShowIndicator)
Indicates if the customer didn't pick up their rental car. * Y - Customer did not pick up their car * N - Not applicable- Parameters:
carRentalNoShowIndicator-
-
carRentalOneWayDropOffCharges
public AdditionalDataCarRental carRentalOneWayDropOffCharges(String carRentalOneWayDropOffCharges)
-
getCarRentalOneWayDropOffCharges
public String getCarRentalOneWayDropOffCharges()
The charge for not returning a car to the original rental location, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * maxLength: 12- Returns:
- carRentalOneWayDropOffCharges
-
setCarRentalOneWayDropOffCharges
public void setCarRentalOneWayDropOffCharges(String carRentalOneWayDropOffCharges)
The charge for not returning a car to the original rental location, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * maxLength: 12- Parameters:
carRentalOneWayDropOffCharges-
-
carRentalRate
public AdditionalDataCarRental carRentalRate(String carRentalRate)
-
getCarRentalRate
public String getCarRentalRate()
The daily rental rate, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Format: Alphanumeric * maxLength: 12- Returns:
- carRentalRate
-
setCarRentalRate
public void setCarRentalRate(String carRentalRate)
The daily rental rate, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Format: Alphanumeric * maxLength: 12- Parameters:
carRentalRate-
-
carRentalRateIndicator
public AdditionalDataCarRental carRentalRateIndicator(String carRentalRateIndicator)
-
getCarRentalRateIndicator
public String getCarRentalRateIndicator()
Specifies whether the given rate is applied daily or weekly. * D - Daily rate * W - Weekly rate- Returns:
- carRentalRateIndicator
-
setCarRentalRateIndicator
public void setCarRentalRateIndicator(String carRentalRateIndicator)
Specifies whether the given rate is applied daily or weekly. * D - Daily rate * W - Weekly rate- Parameters:
carRentalRateIndicator-
-
carRentalRentalAgreementNumber
public AdditionalDataCarRental carRentalRentalAgreementNumber(String carRentalRentalAgreementNumber)
-
getCarRentalRentalAgreementNumber
public String getCarRentalRentalAgreementNumber()
The rental agreement number for the car rental. * Format: Alphanumeric * maxLength: 9 * Must not start with a space or be all spaces *Must not be all zeros.- Returns:
- carRentalRentalAgreementNumber
-
setCarRentalRentalAgreementNumber
public void setCarRentalRentalAgreementNumber(String carRentalRentalAgreementNumber)
The rental agreement number for the car rental. * Format: Alphanumeric * maxLength: 9 * Must not start with a space or be all spaces *Must not be all zeros.- Parameters:
carRentalRentalAgreementNumber-
-
carRentalRentalClassId
public AdditionalDataCarRental carRentalRentalClassId(String carRentalRentalClassId)
-
getCarRentalRentalClassId
public String getCarRentalRentalClassId()
The classification of the rental car. * Format: Alphanumeric * maxLength: 4 * Must not start with a space or be all spaces *Must not be all zeros.- Returns:
- carRentalRentalClassId
-
setCarRentalRentalClassId
public void setCarRentalRentalClassId(String carRentalRentalClassId)
The classification of the rental car. * Format: Alphanumeric * maxLength: 4 * Must not start with a space or be all spaces *Must not be all zeros.- Parameters:
carRentalRentalClassId-
-
carRentalRenterName
public AdditionalDataCarRental carRentalRenterName(String carRentalRenterName)
-
getCarRentalRenterName
public String getCarRentalRenterName()
The name of the person renting the car. * Format: Alphanumeric * maxLength: 26 * If you send more than 26 characters, the name is truncated * Must not start with a space or be all spaces *Must not be all zeros.- Returns:
- carRentalRenterName
-
setCarRentalRenterName
public void setCarRentalRenterName(String carRentalRenterName)
The name of the person renting the car. * Format: Alphanumeric * maxLength: 26 * If you send more than 26 characters, the name is truncated * Must not start with a space or be all spaces *Must not be all zeros.- Parameters:
carRentalRenterName-
-
carRentalReturnCity
public AdditionalDataCarRental carRentalReturnCity(String carRentalReturnCity)
-
getCarRentalReturnCity
public String getCarRentalReturnCity()
The city where the car must be returned. * Format: Alphanumeric * maxLength: 18 * Must not start with a space or be all spaces *Must not be all zeros.- Returns:
- carRentalReturnCity
-
setCarRentalReturnCity
public void setCarRentalReturnCity(String carRentalReturnCity)
The city where the car must be returned. * Format: Alphanumeric * maxLength: 18 * Must not start with a space or be all spaces *Must not be all zeros.- Parameters:
carRentalReturnCity-
-
carRentalReturnCountry
public AdditionalDataCarRental carRentalReturnCountry(String carRentalReturnCountry)
-
getCarRentalReturnCountry
public String getCarRentalReturnCountry()
The country where the car must be returned, in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format. * Format: Alphanumeric * maxLength: 2- Returns:
- carRentalReturnCountry
-
setCarRentalReturnCountry
public void setCarRentalReturnCountry(String carRentalReturnCountry)
The country where the car must be returned, in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format. * Format: Alphanumeric * maxLength: 2- Parameters:
carRentalReturnCountry-
-
carRentalReturnDate
public AdditionalDataCarRental carRentalReturnDate(String carRentalReturnDate)
-
getCarRentalReturnDate
public String getCarRentalReturnDate()
The last date to return the car by. * Date format: `yyyyMMdd` * maxLength: 8- Returns:
- carRentalReturnDate
-
setCarRentalReturnDate
public void setCarRentalReturnDate(String carRentalReturnDate)
The last date to return the car by. * Date format: `yyyyMMdd` * maxLength: 8- Parameters:
carRentalReturnDate-
-
carRentalReturnLocationId
public AdditionalDataCarRental carRentalReturnLocationId(String carRentalReturnLocationId)
-
getCarRentalReturnLocationId
public String getCarRentalReturnLocationId()
The agency code, phone number, or address abbreviation * Format: Alphanumeric * maxLength: 10 * Must not start with a space or be all spaces *Must not be all zeros.- Returns:
- carRentalReturnLocationId
-
setCarRentalReturnLocationId
public void setCarRentalReturnLocationId(String carRentalReturnLocationId)
The agency code, phone number, or address abbreviation * Format: Alphanumeric * maxLength: 10 * Must not start with a space or be all spaces *Must not be all zeros.- Parameters:
carRentalReturnLocationId-
-
carRentalReturnStateProvince
public AdditionalDataCarRental carRentalReturnStateProvince(String carRentalReturnStateProvince)
-
getCarRentalReturnStateProvince
public String getCarRentalReturnStateProvince()
The state or province where the car must be returned. * Format: Alphanumeric * maxLength: 3 * Must not start with a space or be all spaces *Must not be all zeros.- Returns:
- carRentalReturnStateProvince
-
setCarRentalReturnStateProvince
public void setCarRentalReturnStateProvince(String carRentalReturnStateProvince)
The state or province where the car must be returned. * Format: Alphanumeric * maxLength: 3 * Must not start with a space or be all spaces *Must not be all zeros.- Parameters:
carRentalReturnStateProvince-
-
carRentalTaxExemptIndicator
public AdditionalDataCarRental carRentalTaxExemptIndicator(String carRentalTaxExemptIndicator)
-
getCarRentalTaxExemptIndicator
public String getCarRentalTaxExemptIndicator()
Indicates if the goods or services were tax-exempt, or if tax was not paid on them. Values: * Y - Goods or services were tax exempt * N - Tax was not collected- Returns:
- carRentalTaxExemptIndicator
-
setCarRentalTaxExemptIndicator
public void setCarRentalTaxExemptIndicator(String carRentalTaxExemptIndicator)
Indicates if the goods or services were tax-exempt, or if tax was not paid on them. Values: * Y - Goods or services were tax exempt * N - Tax was not collected- Parameters:
carRentalTaxExemptIndicator-
-
travelEntertainmentAuthDataDuration
public AdditionalDataCarRental travelEntertainmentAuthDataDuration(String travelEntertainmentAuthDataDuration)
-
getTravelEntertainmentAuthDataDuration
public String getTravelEntertainmentAuthDataDuration()
Number of days the car is rented for. This should be included in the auth message. * Format: Numeric * maxLength: 4- Returns:
- travelEntertainmentAuthDataDuration
-
setTravelEntertainmentAuthDataDuration
public void setTravelEntertainmentAuthDataDuration(String travelEntertainmentAuthDataDuration)
Number of days the car is rented for. This should be included in the auth message. * Format: Numeric * maxLength: 4- Parameters:
travelEntertainmentAuthDataDuration-
-
travelEntertainmentAuthDataMarket
public AdditionalDataCarRental travelEntertainmentAuthDataMarket(String travelEntertainmentAuthDataMarket)
-
getTravelEntertainmentAuthDataMarket
public String getTravelEntertainmentAuthDataMarket()
Indicates what market-specific dataset will be submitted or is being submitted. Value should be 'A' for car rental. This should be included in the auth message. * Format: Alphanumeric * maxLength: 1- Returns:
- travelEntertainmentAuthDataMarket
-
setTravelEntertainmentAuthDataMarket
public void setTravelEntertainmentAuthDataMarket(String travelEntertainmentAuthDataMarket)
Indicates what market-specific dataset will be submitted or is being submitted. Value should be 'A' for car rental. This should be included in the auth message. * Format: Alphanumeric * maxLength: 1- Parameters:
travelEntertainmentAuthDataMarket-
-
equals
public boolean equals(Object o)
Return true if this AdditionalDataCarRental object is equal to o.
-
fromJson
public static AdditionalDataCarRental fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of AdditionalDataCarRental given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of AdditionalDataCarRental
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to AdditionalDataCarRental
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of AdditionalDataCarRental to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-