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

com.google.api.services.qpxExpress.model.TripOption Maven / Gradle / Ivy

/*
 * Copyright 2010 Google Inc.
 *
 * 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.
 */
/*
 * This code was generated by https://code.google.com/p/google-apis-client-generator/
 * (build: 2014-04-15 19:10:39 UTC)
 * on 2014-04-29 at 16:57:52 UTC 
 * Modify at your own risk.
 */

package com.google.api.services.qpxExpress.model;

/**
 * Trip information.
 *
 * 

This is the Java data model class that specifies how to parse/serialize into the JSON that is * transmitted over HTTP when working with the QPX Express API. For a detailed explanation see: * http://code.google.com/p/google-http-java-client/wiki/JSON *

* * @author Google, Inc. */ @SuppressWarnings("javadoc") public final class TripOption extends com.google.api.client.json.GenericJson { /** * Identifier uniquely identifying this trip in a response. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String id; /** * Identifies this as a trip information object. Value: the fixed string qpxexpress#tripOption. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String kind; /** * Per passenger pricing information. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List pricing; /** * The total price for all passengers on the trip, in the form of a currency followed by an * amount, e.g. USD253.35. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String saleTotal; /** * The slices that make up this trip's itinerary. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List slice; /** * Identifier uniquely identifying this trip in a response. * @return value or {@code null} for none */ public java.lang.String getId() { return id; } /** * Identifier uniquely identifying this trip in a response. * @param id id or {@code null} for none */ public TripOption setId(java.lang.String id) { this.id = id; return this; } /** * Identifies this as a trip information object. Value: the fixed string qpxexpress#tripOption. * @return value or {@code null} for none */ public java.lang.String getKind() { return kind; } /** * Identifies this as a trip information object. Value: the fixed string qpxexpress#tripOption. * @param kind kind or {@code null} for none */ public TripOption setKind(java.lang.String kind) { this.kind = kind; return this; } /** * Per passenger pricing information. * @return value or {@code null} for none */ public java.util.List getPricing() { return pricing; } /** * Per passenger pricing information. * @param pricing pricing or {@code null} for none */ public TripOption setPricing(java.util.List pricing) { this.pricing = pricing; return this; } /** * The total price for all passengers on the trip, in the form of a currency followed by an * amount, e.g. USD253.35. * @return value or {@code null} for none */ public java.lang.String getSaleTotal() { return saleTotal; } /** * The total price for all passengers on the trip, in the form of a currency followed by an * amount, e.g. USD253.35. * @param saleTotal saleTotal or {@code null} for none */ public TripOption setSaleTotal(java.lang.String saleTotal) { this.saleTotal = saleTotal; return this; } /** * The slices that make up this trip's itinerary. * @return value or {@code null} for none */ public java.util.List getSlice() { return slice; } /** * The slices that make up this trip's itinerary. * @param slice slice or {@code null} for none */ public TripOption setSlice(java.util.List slice) { this.slice = slice; return this; } @Override public TripOption set(String fieldName, Object value) { return (TripOption) super.set(fieldName, value); } @Override public TripOption clone() { return (TripOption) super.clone(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy