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

com.google.api.services.content.model.AccountShipping 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: 2015-03-26 20:30:19 UTC)
 * on 2015-06-05 at 00:40:03 UTC 
 * Modify at your own risk.
 */

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

/**
 * The shipping settings of a merchant account.
 *
 * 

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 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.JsonString private java.math.BigInteger accountId; /** * Carrier-based shipping calculations. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List 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=528 com.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.Key private java.lang.String kind; /** * Location groups for shipping. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List 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=528 com.google.api.client.util.Data.nullOf(AccountShippingLocationGroup.class); } /** * Rate tables definitions. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List 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=528 com.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.Key private java.util.List 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=528 com.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 getCarrierRates() { return carrierRates; } /** * Carrier-based shipping calculations. * @param carrierRates carrierRates or {@code null} for none */ public AccountShipping setCarrierRates(java.util.List 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 getLocationGroups() { return locationGroups; } /** * Location groups for shipping. * @param locationGroups locationGroups or {@code null} for none */ public AccountShipping setLocationGroups(java.util.List locationGroups) { this.locationGroups = locationGroups; return this; } /** * Rate tables definitions. * @return value or {@code null} for none */ public java.util.List getRateTables() { return rateTables; } /** * Rate tables definitions. * @param rateTables rateTables or {@code null} for none */ public AccountShipping setRateTables(java.util.List rateTables) { this.rateTables = rateTables; return this; } /** * Shipping services describing shipping fees calculation. * @return value or {@code null} for none */ public java.util.List getServices() { return services; } /** * Shipping services describing shipping fees calculation. * @param services services or {@code null} for none */ public AccountShipping setServices(java.util.List services) { this.services = services; return this; } @Override public AccountShipping set(String fieldName, Object value) { return (AccountShipping) super.set(fieldName, value); } @Override public AccountShipping clone() { return (AccountShipping) super.clone(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy