target.apidocs.com.google.api.services.content.model.OrderPickupDetails.html Maven / Gradle / Ivy
OrderPickupDetails (Content API for Shopping v2.1-rev20200529-1.30.9)
com.google.api.services.content.model
Class OrderPickupDetails
- 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.OrderPickupDetails
-
public final class OrderPickupDetails
extends GenericJson
Model definition for OrderPickupDetails.
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
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
OrderPickupDetails()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
OrderPickupDetails
clone()
OrderAddress
getAddress()
Address of the pickup location where the shipment should be sent.
List<OrderPickupDetailsCollector>
getCollectors()
Collectors authorized to pick up shipment from the pickup location.
String
getLocationId()
ID of the pickup location.
String
getPickupType()
The pickup type of this order.
OrderPickupDetails
set(String fieldName,
Object value)
OrderPickupDetails
setAddress(OrderAddress address)
Address of the pickup location where the shipment should be sent.
OrderPickupDetails
setCollectors(List<OrderPickupDetailsCollector> collectors)
Collectors authorized to pick up shipment from the pickup location.
OrderPickupDetails
setLocationId(String locationId)
ID of the pickup location.
OrderPickupDetails
setPickupType(String pickupType)
The pickup type of this order.
-
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
-
getAddress
public OrderAddress getAddress()
Address of the pickup location where the shipment should be sent. Note that `recipientName` in
the address is the name of the business at the pickup location.
- Returns:
- value or
null
for none
-
setAddress
public OrderPickupDetails setAddress(OrderAddress address)
Address of the pickup location where the shipment should be sent. Note that `recipientName` in
the address is the name of the business at the pickup location.
- Parameters:
address
- address or null
for none
-
getCollectors
public List<OrderPickupDetailsCollector> getCollectors()
Collectors authorized to pick up shipment from the pickup location.
- Returns:
- value or
null
for none
-
setCollectors
public OrderPickupDetails setCollectors(List<OrderPickupDetailsCollector> collectors)
Collectors authorized to pick up shipment from the pickup location.
- Parameters:
collectors
- collectors or null
for none
-
getLocationId
public String getLocationId()
ID of the pickup location.
- Returns:
- value or
null
for none
-
setLocationId
public OrderPickupDetails setLocationId(String locationId)
ID of the pickup location.
- Parameters:
locationId
- locationId or null
for none
-
getPickupType
public String getPickupType()
The pickup type of this order.
Acceptable values are: - "`merchantStore`" - "`merchantStoreCurbside`" -
"`merchantStoreLocker`" - "`thirdPartyPickupPoint`" - "`thirdPartyLocker`"
- Returns:
- value or
null
for none
-
setPickupType
public OrderPickupDetails setPickupType(String pickupType)
The pickup type of this order.
Acceptable values are: - "`merchantStore`" - "`merchantStoreCurbside`" -
"`merchantStoreLocker`" - "`thirdPartyPickupPoint`" - "`thirdPartyLocker`"
- Parameters:
pickupType
- pickupType or null
for none
-
set
public OrderPickupDetails set(String fieldName,
Object value)
- Overrides:
set
in class GenericJson
-
clone
public OrderPickupDetails clone()
- Overrides:
clone
in class GenericJson
Copyright © 2011–2020 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy