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

com.google.api.services.content.model.AccountShippingPostalCodeRange 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: 2015-01-14 17:53:03 UTC)
 * on 2015-02-04 at 16:31:00 UTC 
 * Modify at your own risk.
 */

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

/**
 * A postal code range, that can be either: - A range of postal codes (e.g., start=12340, end=12359)
 * - A range of postal codes prefixes (e.g., start=1234* end=1235*). Prefixes must be of the same
 * length (e.g., start=12* end=2* is invalid).
 *
 * 

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 AccountShippingPostalCodeRange extends com.google.api.client.json.GenericJson { /** * The last (inclusive) postal code or prefix of the range. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String end; /** * The first (inclusive) postal code or prefix of the range. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String start; /** * The last (inclusive) postal code or prefix of the range. * @return value or {@code null} for none */ public java.lang.String getEnd() { return end; } /** * The last (inclusive) postal code or prefix of the range. * @param end end or {@code null} for none */ public AccountShippingPostalCodeRange setEnd(java.lang.String end) { this.end = end; return this; } /** * The first (inclusive) postal code or prefix of the range. * @return value or {@code null} for none */ public java.lang.String getStart() { return start; } /** * The first (inclusive) postal code or prefix of the range. * @param start start or {@code null} for none */ public AccountShippingPostalCodeRange setStart(java.lang.String start) { this.start = start; return this; } @Override public AccountShippingPostalCodeRange set(String fieldName, Object value) { return (AccountShippingPostalCodeRange) super.set(fieldName, value); } @Override public AccountShippingPostalCodeRange clone() { return (AccountShippingPostalCodeRange) super.clone(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy