All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.klarna.rest.api.checkout.model.emd.HotelReservationDetails Maven / Gradle / Ivy

The newest version!
/*
 * Copyright 2018 Klarna AB
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.klarna.rest.api.checkout.model.emd;


import java.util.List;

/**
 * The model for hotel reservation details.
 */
public class HotelReservationDetails extends Model {
    /**
     * PNR.
     */
    private String pnr;

    /**
     * List of hotel itineraries.
     */
    private List hotelItinerary;

    /**
     * List of insurances.
     */
    private List insurance;

    /**
     * List of passengers.
     */
    private List passengers;

    /**
     * Affiliate name.
     */
    private String affiliateName;

    /**
     * Get the PNR.
     *
     * @return PNR.
     */
    public String getPnr() {
        return this.pnr;
    }

    /**
     * Set the PNR.
     *
     * @param pnr PNR.
     * @return Same instance.
     */
    public HotelReservationDetails setPnr(final String pnr) {
        this.pnr = pnr;

        return this;
    }

    /**
     * Get the list of hotel itineraries.
     *
     * @return List of hotel itineraries.
     */
    public List getHotelItinerary() {
        return this.hotelItinerary;
    }

    /**
     * Set the list hotel itineraries.
     *
     * @param hotelItinerary List of hotel itineraries.
     * @return Same instance.
     */
    public HotelReservationDetails setHotelItinerary(
            final List hotelItinerary) {
        this.hotelItinerary = hotelItinerary;

        return this;
    }

    /**
     * Get the list of insurances.
     *
     * @return List of insurances.
     */
    public List getInsurance() {
        return this.insurance;
    }

    /**
     * Set the list of insurances.
     *
     * @param insurance List of insurances.
     * @return Same instance.
     */
    public HotelReservationDetails setInsurance(
            final List insurance) {
        this.insurance = insurance;

        return this;
    }

    /**
     * Get the list of passengers.
     *
     * @return List of passengers.
     */
    public List getPassengers() {
        return this.passengers;
    }

    /**
     * Set the list of passengers.
     *
     * @param passengers List of passengers.
     * @return Same instance.
     */
    public HotelReservationDetails setPassengers(
            final List passengers) {
        this.passengers = passengers;

        return this;
    }

    /**
     * Get the affiliate name.
     *
     * @return Affiliate name.
     */
    public String getAffiliateName() {
        return this.affiliateName;
    }

    /**
     * Set the affiliate name.
     *
     * @param affiliateName Affiliate name.
     * @return Same instance.
     */
    public HotelReservationDetails setAffiliateName(
            final String affiliateName) {
        this.affiliateName = affiliateName;

        return this;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy