target.apidocs.com.google.api.services.content.model.Warehouse.html Maven / Gradle / Ivy
Warehouse (Content API for Shopping v2.1-rev20240609-2.0.0)
com.google.api.services.content.model
Class Warehouse
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.content.model.Warehouse
-
public final class Warehouse
extends com.google.api.client.json.GenericJson
A fulfillment warehouse, which stores and handles inventory.
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.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
com.google.api.client.util.GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
Warehouse()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
Warehouse
clone()
BusinessDayConfig
getBusinessDayConfig()
Business days of the warehouse.
WarehouseCutoffTime
getCutoffTime()
Required.
Long
getHandlingDays()
Required.
String
getName()
Required.
Address
getShippingAddress()
Required.
Warehouse
set(String fieldName,
Object value)
Warehouse
setBusinessDayConfig(BusinessDayConfig businessDayConfig)
Business days of the warehouse.
Warehouse
setCutoffTime(WarehouseCutoffTime cutoffTime)
Required.
Warehouse
setHandlingDays(Long handlingDays)
Required.
Warehouse
setName(String name)
Required.
Warehouse
setShippingAddress(Address shippingAddress)
Required.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getBusinessDayConfig
public BusinessDayConfig getBusinessDayConfig()
Business days of the warehouse. If not set, will be Monday to Friday by default.
- Returns:
- value or
null
for none
-
setBusinessDayConfig
public Warehouse setBusinessDayConfig(BusinessDayConfig businessDayConfig)
Business days of the warehouse. If not set, will be Monday to Friday by default.
- Parameters:
businessDayConfig
- businessDayConfig or null
for none
-
getCutoffTime
public WarehouseCutoffTime getCutoffTime()
Required. The latest time of day that an order can be accepted and begin processing. Later
orders will be processed in the next day. The time is based on the warehouse postal code.
- Returns:
- value or
null
for none
-
setCutoffTime
public Warehouse setCutoffTime(WarehouseCutoffTime cutoffTime)
Required. The latest time of day that an order can be accepted and begin processing. Later
orders will be processed in the next day. The time is based on the warehouse postal code.
- Parameters:
cutoffTime
- cutoffTime or null
for none
-
getHandlingDays
public Long getHandlingDays()
Required. The number of days it takes for this warehouse to pack up and ship an item. This is
on the warehouse level, but can be overridden on the offer level based on the attributes of an
item.
- Returns:
- value or
null
for none
-
setHandlingDays
public Warehouse setHandlingDays(Long handlingDays)
Required. The number of days it takes for this warehouse to pack up and ship an item. This is
on the warehouse level, but can be overridden on the offer level based on the attributes of an
item.
- Parameters:
handlingDays
- handlingDays or null
for none
-
getName
public String getName()
Required. The name of the warehouse. Must be unique within account.
- Returns:
- value or
null
for none
-
setName
public Warehouse setName(String name)
Required. The name of the warehouse. Must be unique within account.
- Parameters:
name
- name or null
for none
-
getShippingAddress
public Address getShippingAddress()
Required. Shipping address of the warehouse.
- Returns:
- value or
null
for none
-
setShippingAddress
public Warehouse setShippingAddress(Address shippingAddress)
Required. Shipping address of the warehouse.
- Parameters:
shippingAddress
- shippingAddress or null
for none
-
set
public Warehouse set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public Warehouse clone()
- Overrides:
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy