public final class ProductOfferDetails
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 Google Play Android Developer API. 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 |
---|
ProductOfferDetails() |
Modifier and Type | Method and Description |
---|---|
ProductOfferDetails |
clone() |
String |
getConsumptionState()
Output only.
|
String |
getOfferId()
The offer ID.
|
List<String> |
getOfferTags()
The latest offer tags associated with the offer.
|
String |
getOfferToken()
The per-transaction offer token used to make this purchase line item.
|
String |
getPurchaseOptionId()
The purchase option ID.
|
Integer |
getQuantity()
The quantity associated with the purchase of the inapp product.
|
Integer |
getRefundableQuantity()
The quantity eligible for refund, i.e.
|
RentOfferDetails |
getRentOfferDetails()
Offer details about rent offers.
|
ProductOfferDetails |
set(String fieldName,
Object value) |
ProductOfferDetails |
setConsumptionState(String consumptionState)
Output only.
|
ProductOfferDetails |
setOfferId(String offerId)
The offer ID.
|
ProductOfferDetails |
setOfferTags(List<String> offerTags)
The latest offer tags associated with the offer.
|
ProductOfferDetails |
setOfferToken(String offerToken)
The per-transaction offer token used to make this purchase line item.
|
ProductOfferDetails |
setPurchaseOptionId(String purchaseOptionId)
The purchase option ID.
|
ProductOfferDetails |
setQuantity(Integer quantity)
The quantity associated with the purchase of the inapp product.
|
ProductOfferDetails |
setRefundableQuantity(Integer refundableQuantity)
The quantity eligible for refund, i.e.
|
ProductOfferDetails |
setRentOfferDetails(RentOfferDetails rentOfferDetails)
Offer details about rent offers.
|
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 getConsumptionState()
null
for nonepublic ProductOfferDetails setConsumptionState(String consumptionState)
consumptionState
- consumptionState or null
for nonepublic String getOfferId()
null
for nonepublic ProductOfferDetails setOfferId(String offerId)
offerId
- offerId or null
for nonepublic List<String> getOfferTags()
null
for nonepublic ProductOfferDetails setOfferTags(List<String> offerTags)
offerTags
- offerTags or null
for nonepublic String getOfferToken()
null
for nonepublic ProductOfferDetails setOfferToken(String offerToken)
offerToken
- offerToken or null
for nonepublic String getPurchaseOptionId()
null
for nonepublic ProductOfferDetails setPurchaseOptionId(String purchaseOptionId)
purchaseOptionId
- purchaseOptionId or null
for nonepublic Integer getQuantity()
null
for nonepublic ProductOfferDetails setQuantity(Integer quantity)
quantity
- quantity or null
for nonepublic Integer getRefundableQuantity()
null
for nonepublic ProductOfferDetails setRefundableQuantity(Integer refundableQuantity)
refundableQuantity
- refundableQuantity or null
for nonepublic RentOfferDetails getRentOfferDetails()
null
for nonepublic ProductOfferDetails setRentOfferDetails(RentOfferDetails rentOfferDetails)
rentOfferDetails
- rentOfferDetails or null
for nonepublic ProductOfferDetails set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public ProductOfferDetails clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2025 Google. All rights reserved.