public final class FeeDetails 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 My Business Place Actions API. 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 |
---|
FeeDetails() |
Modifier and Type | Method and Description |
---|---|
FeeDetails |
clone() |
MinimumFee |
getBaseFee()
The base fee associated with the fulfillment method.
|
FixedFee |
getFixedFee()
The fixed fee associated with the fulfillment method.
|
NoFee |
getNoFee()
No fee for the fulfillment method.
|
FeeDetails |
set(String fieldName,
Object value) |
FeeDetails |
setBaseFee(MinimumFee baseFee)
The base fee associated with the fulfillment method.
|
FeeDetails |
setFixedFee(FixedFee fixedFee)
The fixed fee associated with the fulfillment method.
|
FeeDetails |
setNoFee(NoFee noFee)
No fee for the fulfillment method.
|
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 MinimumFee getBaseFee()
null
for nonepublic FeeDetails setBaseFee(MinimumFee baseFee)
baseFee
- baseFee or null
for nonepublic FixedFee getFixedFee()
null
for nonepublic FeeDetails setFixedFee(FixedFee fixedFee)
fixedFee
- fixedFee or null
for nonepublic NoFee getNoFee()
null
for nonepublic FeeDetails setNoFee(NoFee noFee)
noFee
- noFee or null
for nonepublic FeeDetails set(String fieldName, Object value)
set
in class GenericJson
public FeeDetails clone()
clone
in class GenericJson
Copyright © 2011–2022 Google. All rights reserved.