public final class PointsDetails
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 |
---|
PointsDetails() |
Modifier and Type | Method and Description |
---|---|
PointsDetails |
clone() |
Money |
getPointsCouponValue()
The monetary value of a Play Points coupon.
|
Long |
getPointsDiscountRateMicros()
The percentage rate which the Play Points promotion reduces the cost by.
|
String |
getPointsOfferId()
ID unique to the play points offer in use for this order.
|
Long |
getPointsSpent()
The number of Play Points applied in this order.
|
PointsDetails |
set(String fieldName,
Object value) |
PointsDetails |
setPointsCouponValue(Money pointsCouponValue)
The monetary value of a Play Points coupon.
|
PointsDetails |
setPointsDiscountRateMicros(Long pointsDiscountRateMicros)
The percentage rate which the Play Points promotion reduces the cost by.
|
PointsDetails |
setPointsOfferId(String pointsOfferId)
ID unique to the play points offer in use for this order.
|
PointsDetails |
setPointsSpent(Long pointsSpent)
The number of Play Points applied in this order.
|
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 Money getPointsCouponValue()
null
for nonepublic PointsDetails setPointsCouponValue(Money pointsCouponValue)
pointsCouponValue
- pointsCouponValue or null
for nonepublic Long getPointsDiscountRateMicros()
null
for nonepublic PointsDetails setPointsDiscountRateMicros(Long pointsDiscountRateMicros)
pointsDiscountRateMicros
- pointsDiscountRateMicros or null
for nonepublic String getPointsOfferId()
null
for nonepublic PointsDetails setPointsOfferId(String pointsOfferId)
pointsOfferId
- pointsOfferId or null
for nonepublic Long getPointsSpent()
null
for nonepublic PointsDetails setPointsSpent(Long pointsSpent)
pointsSpent
- pointsSpent or null
for nonepublic PointsDetails set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public PointsDetails clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2025 Google. All rights reserved.