target.apidocs.com.google.api.services.content.model.OrdersCustomBatchRequestEntryRefundItemShipping.html Maven / Gradle / Ivy
OrdersCustomBatchRequestEntryRefundItemShipping (Content API for Shopping v2.1-rev20240609-2.0.0)
com.google.api.services.content.model
Class OrdersCustomBatchRequestEntryRefundItemShipping
- 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.OrdersCustomBatchRequestEntryRefundItemShipping
-
public final class OrdersCustomBatchRequestEntryRefundItemShipping
extends com.google.api.client.json.GenericJson
Model definition for OrdersCustomBatchRequestEntryRefundItemShipping.
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
OrdersCustomBatchRequestEntryRefundItemShipping()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
OrdersCustomBatchRequestEntryRefundItemShipping
clone()
Price
getAmount()
The amount that is refunded.
Boolean
getFullRefund()
If set to true, all shipping costs for the order will be refunded.
OrdersCustomBatchRequestEntryRefundItemShipping
set(String fieldName,
Object value)
OrdersCustomBatchRequestEntryRefundItemShipping
setAmount(Price amount)
The amount that is refunded.
OrdersCustomBatchRequestEntryRefundItemShipping
setFullRefund(Boolean fullRefund)
If set to true, all shipping costs for the order will be refunded.
-
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
-
-
Constructor Detail
-
OrdersCustomBatchRequestEntryRefundItemShipping
public OrdersCustomBatchRequestEntryRefundItemShipping()
-
Method Detail
-
getAmount
public Price getAmount()
The amount that is refunded. If this is not the first refund for the shipment, this should be
the newly refunded amount.
- Returns:
- value or
null
for none
-
setAmount
public OrdersCustomBatchRequestEntryRefundItemShipping setAmount(Price amount)
The amount that is refunded. If this is not the first refund for the shipment, this should be
the newly refunded amount.
- Parameters:
amount
- amount or null
for none
-
getFullRefund
public Boolean getFullRefund()
If set to true, all shipping costs for the order will be refunded. If this is true, amount
shouldn't be provided and will be ignored. If set to false, submit the amount of the partial
shipping refund, excluding the shipping tax. The shipping tax is calculated and handled on
Google's side.
- Returns:
- value or
null
for none
-
setFullRefund
public OrdersCustomBatchRequestEntryRefundItemShipping setFullRefund(Boolean fullRefund)
If set to true, all shipping costs for the order will be refunded. If this is true, amount
shouldn't be provided and will be ignored. If set to false, submit the amount of the partial
shipping refund, excluding the shipping tax. The shipping tax is calculated and handled on
Google's side.
- Parameters:
fullRefund
- fullRefund or null
for none
-
set
public OrdersCustomBatchRequestEntryRefundItemShipping set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public OrdersCustomBatchRequestEntryRefundItemShipping 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