Class AdditionalDataCarRental


  • public class AdditionalDataCarRental
    extends Object
    AdditionalDataCarRental
    • 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_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
    • Constructor Detail

      • AdditionalDataCarRental

        public AdditionalDataCarRental()
    • Method Detail

      • 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 -
      • 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 -
      • 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 -
      • 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 -
      • 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 -
      • 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 -
      • 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 -
      • 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 -
      • 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 -
      • 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 -
      • 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 -
      • 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 -
      • 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 -
      • 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 -
      • 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 -
      • 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 -
      • 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 -
      • 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 -
      • 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 -
      • 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.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • 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