public final class OrderLineItemShippingDetailsMethod extends GenericJson
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
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
OrderLineItemShippingDetailsMethod() |
Modifier and Type | Method and Description |
---|---|
OrderLineItemShippingDetailsMethod |
clone() |
String |
getCarrier()
The carrier for the shipping.
|
Long |
getMaxDaysInTransit()
Required.
|
String |
getMethodName()
Required.
|
Long |
getMinDaysInTransit()
Required.
|
OrderLineItemShippingDetailsMethod |
set(String fieldName,
Object value) |
OrderLineItemShippingDetailsMethod |
setCarrier(String carrier)
The carrier for the shipping.
|
OrderLineItemShippingDetailsMethod |
setMaxDaysInTransit(Long maxDaysInTransit)
Required.
|
OrderLineItemShippingDetailsMethod |
setMethodName(String methodName)
Required.
|
OrderLineItemShippingDetailsMethod |
setMinDaysInTransit(Long minDaysInTransit)
Required.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public String getCarrier()
null
for nonepublic OrderLineItemShippingDetailsMethod setCarrier(String carrier)
carrier
- carrier or null
for nonepublic Long getMaxDaysInTransit()
null
for nonepublic OrderLineItemShippingDetailsMethod setMaxDaysInTransit(Long maxDaysInTransit)
maxDaysInTransit
- maxDaysInTransit or null
for nonepublic String getMethodName()
null
for nonepublic OrderLineItemShippingDetailsMethod setMethodName(String methodName)
methodName
- methodName or null
for nonepublic Long getMinDaysInTransit()
null
for nonepublic OrderLineItemShippingDetailsMethod setMinDaysInTransit(Long minDaysInTransit)
minDaysInTransit
- minDaysInTransit or null
for nonepublic OrderLineItemShippingDetailsMethod set(String fieldName, Object value)
set
in class GenericJson
public OrderLineItemShippingDetailsMethod clone()
clone
in class GenericJson
Copyright © 2011–2020 Google. All rights reserved.