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)The pick-up date. * Date format: `yyyyMMdd`AdditionalDataCarRentalcarRentalCustomerServiceTollFreeNumber(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.AdditionalDataCarRentalcarRentalDaysRented(String carRentalDaysRented)Number of days for which the car is being rented. * Format: Numeric * maxLength: 4 * Must not be all spacesAdditionalDataCarRentalcarRentalFuelCharges(String carRentalFuelCharges)Any fuel charges associated with the rental, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Format: Numeric * maxLength: 12AdditionalDataCarRentalcarRentalInsuranceCharges(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.AdditionalDataCarRentalcarRentalLocationCity(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.AdditionalDataCarRentalcarRentalLocationCountry(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: 2AdditionalDataCarRentalcarRentalLocationStateProvince(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.AdditionalDataCarRentalcarRentalNoShowIndicator(String carRentalNoShowIndicator)Indicates if the customer didn't pick up their rental car. * Y - Customer did not pick up their car * N - Not applicableAdditionalDataCarRentalcarRentalOneWayDropOffCharges(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: 12AdditionalDataCarRentalcarRentalRate(String carRentalRate)The daily rental rate, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Format: Alphanumeric * maxLength: 12AdditionalDataCarRentalcarRentalRateIndicator(String carRentalRateIndicator)Specifies whether the given rate is applied daily or weekly. * D - Daily rate * W - Weekly rateAdditionalDataCarRentalcarRentalRentalAgreementNumber(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.AdditionalDataCarRentalcarRentalRentalClassId(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.AdditionalDataCarRentalcarRentalRenterName(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.AdditionalDataCarRentalcarRentalReturnCity(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.AdditionalDataCarRentalcarRentalReturnCountry(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: 2AdditionalDataCarRentalcarRentalReturnDate(String carRentalReturnDate)The last date to return the car by. * Date format: `yyyyMMdd` * maxLength: 8AdditionalDataCarRentalcarRentalReturnLocationId(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.AdditionalDataCarRentalcarRentalReturnStateProvince(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.AdditionalDataCarRentalcarRentalTaxExemptIndicator(String carRentalTaxExemptIndicator)Indicates if the goods or services were tax-exempt, or if tax was not paid on them.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. * Date format: `yyyyMMdd`StringgetCarRentalCustomerServiceTollFreeNumber()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.StringgetCarRentalDaysRented()Number of days for which the car is being rented. * Format: Numeric * maxLength: 4 * Must not be all spacesStringgetCarRentalFuelCharges()Any fuel charges associated with the rental, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Format: Numeric * maxLength: 12StringgetCarRentalInsuranceCharges()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.StringgetCarRentalLocationCity()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.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. * Format: Alphanumeric * maxLength: 2StringgetCarRentalLocationStateProvince()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.StringgetCarRentalNoShowIndicator()Indicates if the customer didn't pick up their rental car. * Y - Customer did not pick up their car * N - Not applicableStringgetCarRentalOneWayDropOffCharges()The charge for not returning a car to the original rental location, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * maxLength: 12StringgetCarRentalRate()The daily rental rate, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Format: Alphanumeric * maxLength: 12StringgetCarRentalRateIndicator()Specifies whether the given rate is applied daily or weekly. * D - Daily rate * W - Weekly rateStringgetCarRentalRentalAgreementNumber()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.StringgetCarRentalRentalClassId()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.StringgetCarRentalRenterName()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.StringgetCarRentalReturnCity()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.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. * Format: Alphanumeric * maxLength: 2StringgetCarRentalReturnDate()The last date to return the car by. * Date format: `yyyyMMdd` * maxLength: 8StringgetCarRentalReturnLocationId()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. * Format: Alphanumeric * maxLength: 3 * Must not start with a space or be all spaces *Must not be all zeros.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. * Date format: `yyyyMMdd`voidsetCarRentalCustomerServiceTollFreeNumber(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.voidsetCarRentalDaysRented(String carRentalDaysRented)Number of days for which the car is being rented. * Format: Numeric * maxLength: 4 * Must not be all spacesvoidsetCarRentalFuelCharges(String carRentalFuelCharges)Any fuel charges associated with the rental, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Format: Numeric * maxLength: 12voidsetCarRentalInsuranceCharges(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.voidsetCarRentalLocationCity(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.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. * Format: Alphanumeric * maxLength: 2voidsetCarRentalLocationStateProvince(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.voidsetCarRentalNoShowIndicator(String carRentalNoShowIndicator)Indicates if the customer didn't pick up their rental car. * Y - Customer did not pick up their car * N - Not applicablevoidsetCarRentalOneWayDropOffCharges(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: 12voidsetCarRentalRate(String carRentalRate)The daily rental rate, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Format: Alphanumeric * maxLength: 12voidsetCarRentalRateIndicator(String carRentalRateIndicator)Specifies whether the given rate is applied daily or weekly. * D - Daily rate * W - Weekly ratevoidsetCarRentalRentalAgreementNumber(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.voidsetCarRentalRentalClassId(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.voidsetCarRentalRenterName(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.voidsetCarRentalReturnCity(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.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. * Format: Alphanumeric * maxLength: 2voidsetCarRentalReturnDate(String carRentalReturnDate)The last date to return the car by. * Date format: `yyyyMMdd` * maxLength: 8voidsetCarRentalReturnLocationId(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. * Format: Alphanumeric * maxLength: 3 * Must not start with a space or be all spaces *Must not be all zeros.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)Number of days the car is rented for.AdditionalDataCarRentaltravelEntertainmentAuthDataMarket(String travelEntertainmentAuthDataMarket)Indicates what market-specific dataset will be submitted or is being submitted.
-
-
-
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)
The pick-up date. * Date format: `yyyyMMdd`- Parameters:
carRentalCheckOutDate-- Returns:
- the current
AdditionalDataCarRentalinstance, allowing for method chaining
-
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)
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-- Returns:
- the current
AdditionalDataCarRentalinstance, allowing for method chaining
-
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)
Number of days for which the car is being rented. * Format: Numeric * maxLength: 4 * Must not be all spaces- Parameters:
carRentalDaysRented-- Returns:
- the current
AdditionalDataCarRentalinstance, allowing for method chaining
-
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)
Any fuel charges associated with the rental, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Format: Numeric * maxLength: 12- Parameters:
carRentalFuelCharges-- Returns:
- the current
AdditionalDataCarRentalinstance, allowing for method chaining
-
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)
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-- Returns:
- the current
AdditionalDataCarRentalinstance, allowing for method chaining
-
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)
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-- Returns:
- the current
AdditionalDataCarRentalinstance, allowing for method chaining
-
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)
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-- Returns:
- the current
AdditionalDataCarRentalinstance, allowing for method chaining
-
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)
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-- Returns:
- the current
AdditionalDataCarRentalinstance, allowing for method chaining
-
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)
Indicates if the customer didn't pick up their rental car. * Y - Customer did not pick up their car * N - Not applicable- Parameters:
carRentalNoShowIndicator-- Returns:
- the current
AdditionalDataCarRentalinstance, allowing for method chaining
-
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)
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-- Returns:
- the current
AdditionalDataCarRentalinstance, allowing for method chaining
-
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)
The daily rental rate, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Format: Alphanumeric * maxLength: 12- Parameters:
carRentalRate-- Returns:
- the current
AdditionalDataCarRentalinstance, allowing for method chaining
-
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)
Specifies whether the given rate is applied daily or weekly. * D - Daily rate * W - Weekly rate- Parameters:
carRentalRateIndicator-- Returns:
- the current
AdditionalDataCarRentalinstance, allowing for method chaining
-
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)
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-- Returns:
- the current
AdditionalDataCarRentalinstance, allowing for method chaining
-
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)
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-- Returns:
- the current
AdditionalDataCarRentalinstance, allowing for method chaining
-
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)
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-- Returns:
- the current
AdditionalDataCarRentalinstance, allowing for method chaining
-
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)
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-- Returns:
- the current
AdditionalDataCarRentalinstance, allowing for method chaining
-
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)
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-- Returns:
- the current
AdditionalDataCarRentalinstance, allowing for method chaining
-
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)
The last date to return the car by. * Date format: `yyyyMMdd` * maxLength: 8- Parameters:
carRentalReturnDate-- Returns:
- the current
AdditionalDataCarRentalinstance, allowing for method chaining
-
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)
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-- Returns:
- the current
AdditionalDataCarRentalinstance, allowing for method chaining
-
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)
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-- Returns:
- the current
AdditionalDataCarRentalinstance, allowing for method chaining
-
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)
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-- Returns:
- the current
AdditionalDataCarRentalinstance, allowing for method chaining
-
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)
Number of days the car is rented for. This should be included in the auth message. * Format: Numeric * maxLength: 4- Parameters:
travelEntertainmentAuthDataDuration-- Returns:
- the current
AdditionalDataCarRentalinstance, allowing for method chaining
-
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)
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-- Returns:
- the current
AdditionalDataCarRentalinstance, allowing for method chaining
-
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
-
-