com.google.api.services.content.model.AccountShipping 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://github.com/google/apis-client-generator/
* (build: 2016-10-17 16:43:55 UTC)
* on 2016-10-25 at 15:09:01 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:
* https://developers.google.com/api-client-library/java/google-http-java-client/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;
/**
* 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;
/**
* Rate tables definitions.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List rateTables;
/**
* Shipping services describing shipping fees calculation.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List services;
/**
* 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