public final class ReturnPricingInfo 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.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
ReturnPricingInfo() |
| Modifier and Type | Method and Description |
|---|---|
ReturnPricingInfo |
clone() |
Boolean |
getChargeReturnShippingFee()
Default option for whether merchant should charge the customer for return shipping costs, based
on customer selected return reason and merchant's return policy for the items being returned.
|
MonetaryAmount |
getMaxReturnShippingFee()
Maximum return shipping costs that may be charged to the customer depending on merchant's
assessment of the return reason and the merchant's return policy for the items being returned.
|
MonetaryAmount |
getRefundableItemsTotalAmount()
Total amount that can be refunded for the items in this return.
|
MonetaryAmount |
getRefundableShippingAmount()
Maximum amount that can be refunded for the original shipping fee.
|
MonetaryAmount |
getTotalRefundedAmount()
Total amount already refunded by the merchant.
|
ReturnPricingInfo |
set(String fieldName,
Object value) |
ReturnPricingInfo |
setChargeReturnShippingFee(Boolean chargeReturnShippingFee)
Default option for whether merchant should charge the customer for return shipping costs, based
on customer selected return reason and merchant's return policy for the items being returned.
|
ReturnPricingInfo |
setMaxReturnShippingFee(MonetaryAmount maxReturnShippingFee)
Maximum return shipping costs that may be charged to the customer depending on merchant's
assessment of the return reason and the merchant's return policy for the items being returned.
|
ReturnPricingInfo |
setRefundableItemsTotalAmount(MonetaryAmount refundableItemsTotalAmount)
Total amount that can be refunded for the items in this return.
|
ReturnPricingInfo |
setRefundableShippingAmount(MonetaryAmount refundableShippingAmount)
Maximum amount that can be refunded for the original shipping fee.
|
ReturnPricingInfo |
setTotalRefundedAmount(MonetaryAmount totalRefundedAmount)
Total amount already refunded by the merchant.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic Boolean getChargeReturnShippingFee()
null for nonepublic ReturnPricingInfo setChargeReturnShippingFee(Boolean chargeReturnShippingFee)
chargeReturnShippingFee - chargeReturnShippingFee or null for nonepublic MonetaryAmount getMaxReturnShippingFee()
null for nonepublic ReturnPricingInfo setMaxReturnShippingFee(MonetaryAmount maxReturnShippingFee)
maxReturnShippingFee - maxReturnShippingFee or null for nonepublic MonetaryAmount getRefundableItemsTotalAmount()
null for nonepublic ReturnPricingInfo setRefundableItemsTotalAmount(MonetaryAmount refundableItemsTotalAmount)
refundableItemsTotalAmount - refundableItemsTotalAmount or null for nonepublic MonetaryAmount getRefundableShippingAmount()
null for nonepublic ReturnPricingInfo setRefundableShippingAmount(MonetaryAmount refundableShippingAmount)
refundableShippingAmount - refundableShippingAmount or null for nonepublic MonetaryAmount getTotalRefundedAmount()
null for nonepublic ReturnPricingInfo setTotalRefundedAmount(MonetaryAmount totalRefundedAmount)
totalRefundedAmount - totalRefundedAmount or null for nonepublic ReturnPricingInfo set(String fieldName, Object value)
set in class GenericJsonpublic ReturnPricingInfo clone()
clone in class GenericJsonCopyright © 2011–2022 Google. All rights reserved.