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.FlagsAbstractMap.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.
|
PreorderOfferDetails |
getPreorderOfferDetails()
Offer details for a preorder offer.
|
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 |
setPreorderOfferDetails(PreorderOfferDetails preorderOfferDetails)
Offer details for a preorder offer.
|
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, 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 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 PreorderOfferDetails getPreorderOfferDetails()
null for nonepublic ProductOfferDetails setPreorderOfferDetails(PreorderOfferDetails preorderOfferDetails)
preorderOfferDetails - preorderOfferDetails 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.GenericJsonpublic ProductOfferDetails clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.