Class AdditionalDataLodging


  • public class AdditionalDataLodging
    extends Object
    AdditionalDataLodging
    • Field Detail

      • SERIALIZED_NAME_LODGING_CHECK_IN_DATE

        public static final String SERIALIZED_NAME_LODGING_CHECK_IN_DATE
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_LODGING_CHECK_OUT_DATE

        public static final String SERIALIZED_NAME_LODGING_CHECK_OUT_DATE
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_LODGING_CUSTOMER_SERVICE_TOLL_FREE_NUMBER

        public static final String SERIALIZED_NAME_LODGING_CUSTOMER_SERVICE_TOLL_FREE_NUMBER
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_LODGING_FIRE_SAFETY_ACT_INDICATOR

        public static final String SERIALIZED_NAME_LODGING_FIRE_SAFETY_ACT_INDICATOR
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_LODGING_FOLIO_CASH_ADVANCES

        public static final String SERIALIZED_NAME_LODGING_FOLIO_CASH_ADVANCES
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_LODGING_FOLIO_NUMBER

        public static final String SERIALIZED_NAME_LODGING_FOLIO_NUMBER
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_LODGING_FOOD_BEVERAGE_CHARGES

        public static final String SERIALIZED_NAME_LODGING_FOOD_BEVERAGE_CHARGES
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_LODGING_NO_SHOW_INDICATOR

        public static final String SERIALIZED_NAME_LODGING_NO_SHOW_INDICATOR
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_LODGING_PREPAID_EXPENSES

        public static final String SERIALIZED_NAME_LODGING_PREPAID_EXPENSES
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_LODGING_PROPERTY_PHONE_NUMBER

        public static final String SERIALIZED_NAME_LODGING_PROPERTY_PHONE_NUMBER
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_LODGING_ROOM1_NUMBER_OF_NIGHTS

        public static final String SERIALIZED_NAME_LODGING_ROOM1_NUMBER_OF_NIGHTS
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_LODGING_TOTAL_ROOM_TAX

        public static final String SERIALIZED_NAME_LODGING_TOTAL_ROOM_TAX
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_TRAVEL_ENTERTAINMENT_AUTH_DATA_DURATION

        public static final String SERIALIZED_NAME_TRAVEL_ENTERTAINMENT_AUTH_DATA_DURATION
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_TRAVEL_ENTERTAINMENT_AUTH_DATA_MARKET

        public static final String SERIALIZED_NAME_TRAVEL_ENTERTAINMENT_AUTH_DATA_MARKET
        See Also:
        Constant Field Values
      • openapiRequiredFields

        public static HashSet<String> openapiRequiredFields
    • Constructor Detail

      • AdditionalDataLodging

        public AdditionalDataLodging()
    • Method Detail

      • getLodgingCheckInDate

        public String getLodgingCheckInDate()
        The arrival date. * Date format: `yyyyMMdd`
        Returns:
        lodgingCheckInDate
      • setLodgingCheckInDate

        public void setLodgingCheckInDate​(String lodgingCheckInDate)
      • getLodgingCheckOutDate

        public String getLodgingCheckOutDate()
        The departure date. * Date format: `yyyyMMdd`
        Returns:
        lodgingCheckOutDate
      • setLodgingCheckOutDate

        public void setLodgingCheckOutDate​(String lodgingCheckOutDate)
      • lodgingCustomerServiceTollFreeNumber

        public AdditionalDataLodging lodgingCustomerServiceTollFreeNumber​(String lodgingCustomerServiceTollFreeNumber)
      • getLodgingCustomerServiceTollFreeNumber

        public String getLodgingCustomerServiceTollFreeNumber()
        The toll free phone number for the hotel/lodgings. * Format: Alphanumeric * maxLength: 17
        Returns:
        lodgingCustomerServiceTollFreeNumber
      • setLodgingCustomerServiceTollFreeNumber

        public void setLodgingCustomerServiceTollFreeNumber​(String lodgingCustomerServiceTollFreeNumber)
      • getLodgingFireSafetyActIndicator

        public String getLodgingFireSafetyActIndicator()
        Identifies that the facility complies with the Hotel and Motel Fire Safety Act of 1990. Values can be: 'Y' or 'N'. * Format: Alphabetic * maxLength: 1
        Returns:
        lodgingFireSafetyActIndicator
      • setLodgingFireSafetyActIndicator

        public void setLodgingFireSafetyActIndicator​(String lodgingFireSafetyActIndicator)
      • getLodgingFolioCashAdvances

        public String getLodgingFolioCashAdvances()
        The folio cash advances. * Format: Numeric * maxLength: 12
        Returns:
        lodgingFolioCashAdvances
      • setLodgingFolioCashAdvances

        public void setLodgingFolioCashAdvances​(String lodgingFolioCashAdvances)
      • getLodgingFolioNumber

        public String getLodgingFolioNumber()
        Card acceptor’s internal invoice or billing ID reference number. * Format: Alphanumeric * maxLength: 25
        Returns:
        lodgingFolioNumber
      • setLodgingFolioNumber

        public void setLodgingFolioNumber​(String lodgingFolioNumber)
      • getLodgingFoodBeverageCharges

        public String getLodgingFoodBeverageCharges()
        Any charges for food and beverages associated with the booking. * Format: Numeric * maxLength: 12
        Returns:
        lodgingFoodBeverageCharges
      • setLodgingFoodBeverageCharges

        public void setLodgingFoodBeverageCharges​(String lodgingFoodBeverageCharges)
      • getLodgingNoShowIndicator

        public String getLodgingNoShowIndicator()
        Indicates if the customer was a \"no-show\" (neither keeps nor cancels their booking). Value should be Y or N. * Format: Numeric * maxLength: 1
        Returns:
        lodgingNoShowIndicator
      • setLodgingNoShowIndicator

        public void setLodgingNoShowIndicator​(String lodgingNoShowIndicator)
      • getLodgingPrepaidExpenses

        public String getLodgingPrepaidExpenses()
        Prepaid expenses for the booking. * Format: Numeric * maxLength: 12
        Returns:
        lodgingPrepaidExpenses
      • setLodgingPrepaidExpenses

        public void setLodgingPrepaidExpenses​(String lodgingPrepaidExpenses)
      • getLodgingPropertyPhoneNumber

        public String getLodgingPropertyPhoneNumber()
        Identifies specific lodging property location by its local phone number. * Format: Alphanumeric * maxLength: 17
        Returns:
        lodgingPropertyPhoneNumber
      • setLodgingPropertyPhoneNumber

        public void setLodgingPropertyPhoneNumber​(String lodgingPropertyPhoneNumber)
      • getLodgingRoom1NumberOfNights

        public String getLodgingRoom1NumberOfNights()
        Total number of nights the room will be rented. * Format: Numeric * maxLength: 4
        Returns:
        lodgingRoom1NumberOfNights
      • setLodgingRoom1NumberOfNights

        public void setLodgingRoom1NumberOfNights​(String lodgingRoom1NumberOfNights)
      • getLodgingRoom1Rate

        public String getLodgingRoom1Rate()
        The rate of the room. * Format: Numeric * maxLength: 12
        Returns:
        lodgingRoom1Rate
      • setLodgingRoom1Rate

        public void setLodgingRoom1Rate​(String lodgingRoom1Rate)
      • getLodgingRoom1Tax

        public String getLodgingRoom1Tax()
        The total amount of tax to be paid. * Format: Numeric * maxLength: 12
        Returns:
        lodgingRoom1Tax
      • setLodgingRoom1Tax

        public void setLodgingRoom1Tax​(String lodgingRoom1Tax)
      • getLodgingTotalRoomTax

        public String getLodgingTotalRoomTax()
        Total room tax amount. * Format: Numeric * maxLength: 12
        Returns:
        lodgingTotalRoomTax
      • setLodgingTotalRoomTax

        public void setLodgingTotalRoomTax​(String lodgingTotalRoomTax)
      • getLodgingTotalTax

        public String getLodgingTotalTax()
        Total tax amount. * Format: Numeric * maxLength: 12
        Returns:
        lodgingTotalTax
      • setLodgingTotalTax

        public void setLodgingTotalTax​(String lodgingTotalTax)
      • travelEntertainmentAuthDataDuration

        public AdditionalDataLodging travelEntertainmentAuthDataDuration​(String travelEntertainmentAuthDataDuration)
      • getTravelEntertainmentAuthDataDuration

        public String getTravelEntertainmentAuthDataDuration()
        Number of nights. This should be included in the auth message. * Format: Numeric * maxLength: 2
        Returns:
        travelEntertainmentAuthDataDuration
      • setTravelEntertainmentAuthDataDuration

        public void setTravelEntertainmentAuthDataDuration​(String travelEntertainmentAuthDataDuration)
      • travelEntertainmentAuthDataMarket

        public AdditionalDataLodging travelEntertainmentAuthDataMarket​(String travelEntertainmentAuthDataMarket)
      • getTravelEntertainmentAuthDataMarket

        public String getTravelEntertainmentAuthDataMarket()
        Indicates what market-specific dataset will be submitted or is being submitted. Value should be \"H\" for Hotel. This should be included in the auth message. * Format: Alphanumeric * maxLength: 1
        Returns:
        travelEntertainmentAuthDataMarket
      • setTravelEntertainmentAuthDataMarket

        public void setTravelEntertainmentAuthDataMarket​(String travelEntertainmentAuthDataMarket)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • validateJsonObject

        public static void validateJsonObject​(com.google.gson.JsonObject jsonObj)
                                       throws IOException
        Validates the JSON Object and throws an exception if issues found
        Parameters:
        jsonObj - JSON Object
        Throws:
        IOException - if the JSON Object is invalid with respect to AdditionalDataLodging
      • fromJson

        public static AdditionalDataLodging fromJson​(String jsonString)
                                              throws IOException
        Create an instance of AdditionalDataLodging given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of AdditionalDataLodging
        Throws:
        IOException - if the JSON string is invalid with respect to AdditionalDataLodging
      • toJson

        public String toJson()
        Convert an instance of AdditionalDataLodging to an JSON string
        Returns:
        JSON string