public final class OrderRefund
extends com.google.api.client.json.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
com.google.api.client.util.GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
OrderRefund() |
Modifier and Type | Method and Description |
---|---|
OrderRefund |
clone() |
String |
getActor()
The actor that created the refund.
|
Price |
getAmount()
The amount that is refunded.
|
String |
getCreationDate()
Date on which the item has been created, in ISO 8601 format.
|
String |
getReason()
The reason for the refund.
|
String |
getReasonText()
The explanation of the reason.
|
OrderRefund |
set(String fieldName,
Object value) |
OrderRefund |
setActor(String actor)
The actor that created the refund.
|
OrderRefund |
setAmount(Price amount)
The amount that is refunded.
|
OrderRefund |
setCreationDate(String creationDate)
Date on which the item has been created, in ISO 8601 format.
|
OrderRefund |
setReason(String reason)
The reason for the refund.
|
OrderRefund |
setReasonText(String reasonText)
The explanation of the reason.
|
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 getActor()
null
for nonepublic OrderRefund setActor(String actor)
actor
- actor or null
for nonepublic Price getAmount()
null
for nonepublic OrderRefund setAmount(Price amount)
amount
- amount or null
for nonepublic String getCreationDate()
null
for nonepublic OrderRefund setCreationDate(String creationDate)
creationDate
- creationDate or null
for nonepublic String getReason()
null
for nonepublic OrderRefund setReason(String reason)
reason
- reason or null
for nonepublic String getReasonText()
null
for nonepublic OrderRefund setReasonText(String reasonText)
reasonText
- reasonText or null
for nonepublic OrderRefund set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public OrderRefund clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.