public final class OneTimePurchaseDetails
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 |
|---|
OneTimePurchaseDetails() |
| Modifier and Type | Method and Description |
|---|---|
OneTimePurchaseDetails |
clone() |
String |
getOfferId()
The offer ID of the one-time purchase offer.
|
PreorderDetails |
getPreorderDetails()
The details of a pre-order purchase.
|
String |
getPurchaseOptionId()
ID of the purchase option.
|
Integer |
getQuantity()
The number of items purchased (for multi-quantity item purchases).
|
RentalDetails |
getRentalDetails()
The details of a rent purchase.
|
OneTimePurchaseDetails |
set(String fieldName,
Object value) |
OneTimePurchaseDetails |
setOfferId(String offerId)
The offer ID of the one-time purchase offer.
|
OneTimePurchaseDetails |
setPreorderDetails(PreorderDetails preorderDetails)
The details of a pre-order purchase.
|
OneTimePurchaseDetails |
setPurchaseOptionId(String purchaseOptionId)
ID of the purchase option.
|
OneTimePurchaseDetails |
setQuantity(Integer quantity)
The number of items purchased (for multi-quantity item purchases).
|
OneTimePurchaseDetails |
setRentalDetails(RentalDetails rentalDetails)
The details of a rent purchase.
|
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 getOfferId()
null for nonepublic OneTimePurchaseDetails setOfferId(String offerId)
offerId - offerId or null for nonepublic PreorderDetails getPreorderDetails()
null for nonepublic OneTimePurchaseDetails setPreorderDetails(PreorderDetails preorderDetails)
preorderDetails - preorderDetails or null for nonepublic String getPurchaseOptionId()
null for nonepublic OneTimePurchaseDetails setPurchaseOptionId(String purchaseOptionId)
purchaseOptionId - purchaseOptionId or null for nonepublic Integer getQuantity()
null for nonepublic OneTimePurchaseDetails setQuantity(Integer quantity)
quantity - quantity or null for nonepublic RentalDetails getRentalDetails()
null for nonepublic OneTimePurchaseDetails setRentalDetails(RentalDetails rentalDetails)
rentalDetails - rentalDetails or null for nonepublic OneTimePurchaseDetails set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic OneTimePurchaseDetails clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.