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://github.com/google/apis-client-generator/
 * (build: 2018-04-06 17:52:19 UTC)
 * on 2018-05-01 at 17:01:15 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: * https://developers.google.com/api-client-library/java/google-http-java-client/json *

* * @author Google, Inc. */ @SuppressWarnings("javadoc") public final class OrderShipment extends com.google.api.client.json.GenericJson { /** * The carrier handling the shipment. * * Acceptable values are: - "gsx" - "ups" - "usps" - "fedex" - "dhl" - "ecourier" - "cxt" * - "google" - "ontrac" - "emsy" - "ont" - "deliv" - "dynamex" - "lasership" - "mpx" - * "uds" * 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. * * Acceptable values are: - "gsx" - "ups" - "usps" - "fedex" - "dhl" - "ecourier" - "cxt" * - "google" - "ontrac" - "emsy" - "ont" - "deliv" - "dynamex" - "lasership" - "mpx" - * "uds" * @return value or {@code null} for none */ public java.lang.String getCarrier() { return carrier; } /** * The carrier handling the shipment. * * Acceptable values are: - "gsx" - "ups" - "usps" - "fedex" - "dhl" - "ecourier" - "cxt" * - "google" - "ontrac" - "emsy" - "ont" - "deliv" - "dynamex" - "lasership" - "mpx" - * "uds" * @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