Blame | Last modification | View Log | RSS feed
/** 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-07-09 17:08:39 UTC)* on 2014-07-23 at 21:49:03 UTC* Modify at your own risk.*/package com.google.api.services.content.model;/*** Model definition for AccountShipping.** <p> 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:* <a href="http://code.google.com/p/google-http-java-client/wiki/JSON">http://code.google.com/p/google-http-java-client/wiki/JSON</a>* </p>** @author Google, Inc.*/@SuppressWarnings("javadoc")public final class AccountShipping extends com.google.api.client.json.GenericJson {/*** The ID of the account to which these account shipping settings belong.* The value may be {@code null}.*/@com.google.api.client.util.Key @com.google.api.client.json.JsonStringprivate java.math.BigInteger accountId;/*** Carrier-based shipping calculations.* The value may be {@code null}.*/@com.google.api.client.util.Keyprivate java.util.List<AccountShippingCarrierRate> carrierRates;static {// hack to force ProGuard to consider AccountShippingCarrierRate used, since otherwise it would be stripped out// see http://code.google.com/p/google-api-java-client/issues/detail?id=528com.google.api.client.util.Data.nullOf(AccountShippingCarrierRate.class);}/*** Identifies what kind of resource this is. Value: the fixed string "content#accountShipping".* The value may be {@code null}.*/@com.google.api.client.util.Keyprivate java.lang.String kind;/*** Location groups for shipping.* The value may be {@code null}.*/@com.google.api.client.util.Keyprivate java.util.List<AccountShippingLocationGroup> locationGroups;static {// hack to force ProGuard to consider AccountShippingLocationGroup used, since otherwise it would be stripped out// see http://code.google.com/p/google-api-java-client/issues/detail?id=528com.google.api.client.util.Data.nullOf(AccountShippingLocationGroup.class);}/*** Rate tables definitions.* The value may be {@code null}.*/@com.google.api.client.util.Keyprivate java.util.List<AccountShippingRateTable> rateTables;static {// hack to force ProGuard to consider AccountShippingRateTable used, since otherwise it would be stripped out// see http://code.google.com/p/google-api-java-client/issues/detail?id=528com.google.api.client.util.Data.nullOf(AccountShippingRateTable.class);}/*** Shipping services describing shipping fees calculation.* The value may be {@code null}.*/@com.google.api.client.util.Keyprivate java.util.List<AccountShippingShippingService> services;static {// hack to force ProGuard to consider AccountShippingShippingService used, since otherwise it would be stripped out// see http://code.google.com/p/google-api-java-client/issues/detail?id=528com.google.api.client.util.Data.nullOf(AccountShippingShippingService.class);}/*** The ID of the account to which these account shipping settings belong.* @return value or {@code null} for none*/public java.math.BigInteger getAccountId() {return accountId;}/*** The ID of the account to which these account shipping settings belong.* @param accountId accountId or {@code null} for none*/public AccountShipping setAccountId(java.math.BigInteger accountId) {this.accountId = accountId;return this;}/*** Carrier-based shipping calculations.* @return value or {@code null} for none*/public java.util.List<AccountShippingCarrierRate> getCarrierRates() {return carrierRates;}/*** Carrier-based shipping calculations.* @param carrierRates carrierRates or {@code null} for none*/public AccountShipping setCarrierRates(java.util.List<AccountShippingCarrierRate> carrierRates) {this.carrierRates = carrierRates;return this;}/*** Identifies what kind of resource this is. Value: the fixed string "content#accountShipping".* @return value or {@code null} for none*/public java.lang.String getKind() {return kind;}/*** Identifies what kind of resource this is. Value: the fixed string "content#accountShipping".* @param kind kind or {@code null} for none*/public AccountShipping setKind(java.lang.String kind) {this.kind = kind;return this;}/*** Location groups for shipping.* @return value or {@code null} for none*/public java.util.List<AccountShippingLocationGroup> getLocationGroups() {return locationGroups;}/*** Location groups for shipping.* @param locationGroups locationGroups or {@code null} for none*/public AccountShipping setLocationGroups(java.util.List<AccountShippingLocationGroup> locationGroups) {this.locationGroups = locationGroups;return this;}/*** Rate tables definitions.* @return value or {@code null} for none*/public java.util.List<AccountShippingRateTable> getRateTables() {return rateTables;}/*** Rate tables definitions.* @param rateTables rateTables or {@code null} for none*/public AccountShipping setRateTables(java.util.List<AccountShippingRateTable> rateTables) {this.rateTables = rateTables;return this;}/*** Shipping services describing shipping fees calculation.* @return value or {@code null} for none*/public java.util.List<AccountShippingShippingService> getServices() {return services;}/*** Shipping services describing shipping fees calculation.* @param services services or {@code null} for none*/public AccountShipping setServices(java.util.List<AccountShippingShippingService> services) {this.services = services;return this;}@Overridepublic AccountShipping set(String fieldName, Object value) {return (AccountShipping) super.set(fieldName, value);}@Overridepublic AccountShipping clone() {return (AccountShipping) super.clone();}}