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

com.google.api.services.content.model.OrderShipment Maven / Gradle / Ivy

There is a newer version: v2.1-rev20241217-2.0.0
Show newest version
/*
 * 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: 2017-01-11 18:31:16 UTC)
 * on 2017-02-02 at 00:33:08 UTC 
 * Modify at your own risk.
 */

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

/**
 * Model definition for OrderShipment.
 *
 * 

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 Content API for Shopping. For a detailed explanation * see: * http://code.google.com/p/google-http-java-client/wiki/JSON *

* * @author Google, Inc. */ @SuppressWarnings("javadoc") public final class OrderShipment extends com.google.api.client.json.GenericJson { /** * The carrier handling the shipment. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String carrier; /** * Date on which the shipment has been created, in ISO 8601 format. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String creationDate; /** * Date on which the shipment has been delivered, in ISO 8601 format. Present only if status is * delievered * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String deliveryDate; /** * The id of the shipment. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String id; /** * The line items that are shipped. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List lineItems; /** * The status of the shipment. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String status; /** * The tracking id for the shipment. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String trackingId; /** * The carrier handling the shipment. * @return value or {@code null} for none */ public java.lang.String getCarrier() { return carrier; } /** * The carrier handling the shipment. * @param carrier carrier or {@code null} for none */ public OrderShipment setCarrier(java.lang.String carrier) { this.carrier = carrier; return this; } /** * Date on which the shipment has been created, in ISO 8601 format. * @return value or {@code null} for none */ public java.lang.String getCreationDate() { return creationDate; } /** * Date on which the shipment has been created, in ISO 8601 format. * @param creationDate creationDate or {@code null} for none */ public OrderShipment setCreationDate(java.lang.String creationDate) { this.creationDate = creationDate; return this; } /** * Date on which the shipment has been delivered, in ISO 8601 format. Present only if status is * delievered * @return value or {@code null} for none */ public java.lang.String getDeliveryDate() { return deliveryDate; } /** * Date on which the shipment has been delivered, in ISO 8601 format. Present only if status is * delievered * @param deliveryDate deliveryDate or {@code null} for none */ public OrderShipment setDeliveryDate(java.lang.String deliveryDate) { this.deliveryDate = deliveryDate; return this; } /** * The id of the shipment. * @return value or {@code null} for none */ public java.lang.String getId() { return id; } /** * The id of the shipment. * @param id id or {@code null} for none */ public OrderShipment setId(java.lang.String id) { this.id = id; return this; } /** * The line items that are shipped. * @return value or {@code null} for none */ public java.util.List getLineItems() { return lineItems; } /** * The line items that are shipped. * @param lineItems lineItems or {@code null} for none */ public OrderShipment setLineItems(java.util.List lineItems) { this.lineItems = lineItems; return this; } /** * The status of the shipment. * @return value or {@code null} for none */ public java.lang.String getStatus() { return status; } /** * The status of the shipment. * @param status status or {@code null} for none */ public OrderShipment setStatus(java.lang.String status) { this.status = status; return this; } /** * The tracking id for the shipment. * @return value or {@code null} for none */ public java.lang.String getTrackingId() { return trackingId; } /** * The tracking id for the shipment. * @param trackingId trackingId or {@code null} for none */ public OrderShipment setTrackingId(java.lang.String trackingId) { this.trackingId = trackingId; return this; } @Override public OrderShipment set(String fieldName, Object value) { return (OrderShipment) super.set(fieldName, value); } @Override public OrderShipment clone() { return (OrderShipment) super.clone(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy