public final class Order
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 |
---|
Order() |
Modifier and Type | Method and Description |
---|---|
Order |
clone() |
BuyerAddress |
getBuyerAddress()
Address information for the customer, for use in tax computation.
|
String |
getCreateTime()
The time when the order was created.
|
Money |
getDeveloperRevenueInBuyerCurrency()
Your revenue for this order in the buyer's currency, including deductions of partial refunds,
taxes and fees.
|
String |
getLastEventTime()
The time of the last event that occurred on the order.
|
List<LineItem> |
getLineItems()
The individual line items making up this order.
|
OrderDetails |
getOrderDetails()
Detailed information about the order at creation time.
|
OrderHistory |
getOrderHistory()
Details about events which modified the order.
|
String |
getOrderId()
The order ID.
|
PointsDetails |
getPointsDetails()
Play points applied to the order, including offer information, discount rate and point values.
|
String |
getPurchaseToken()
The token provided to the user's device when the subscription or item was purchased.
|
String |
getState()
The state of the order.
|
Money |
getTax()
The total tax paid as a part of this order.
|
Money |
getTotal()
The final amount paid by the customer, taking into account discounts and taxes.
|
Order |
set(String fieldName,
Object value) |
Order |
setBuyerAddress(BuyerAddress buyerAddress)
Address information for the customer, for use in tax computation.
|
Order |
setCreateTime(String createTime)
The time when the order was created.
|
Order |
setDeveloperRevenueInBuyerCurrency(Money developerRevenueInBuyerCurrency)
Your revenue for this order in the buyer's currency, including deductions of partial refunds,
taxes and fees.
|
Order |
setLastEventTime(String lastEventTime)
The time of the last event that occurred on the order.
|
Order |
setLineItems(List<LineItem> lineItems)
The individual line items making up this order.
|
Order |
setOrderDetails(OrderDetails orderDetails)
Detailed information about the order at creation time.
|
Order |
setOrderHistory(OrderHistory orderHistory)
Details about events which modified the order.
|
Order |
setOrderId(String orderId)
The order ID.
|
Order |
setPointsDetails(PointsDetails pointsDetails)
Play points applied to the order, including offer information, discount rate and point values.
|
Order |
setPurchaseToken(String purchaseToken)
The token provided to the user's device when the subscription or item was purchased.
|
Order |
setState(String state)
The state of the order.
|
Order |
setTax(Money tax)
The total tax paid as a part of this order.
|
Order |
setTotal(Money total)
The final amount paid by the customer, taking into account discounts and taxes.
|
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 BuyerAddress getBuyerAddress()
null
for nonepublic Order setBuyerAddress(BuyerAddress buyerAddress)
buyerAddress
- buyerAddress or null
for nonepublic String getCreateTime()
null
for nonepublic Order setCreateTime(String createTime)
createTime
- createTime or null
for nonepublic Money getDeveloperRevenueInBuyerCurrency()
null
for nonepublic Order setDeveloperRevenueInBuyerCurrency(Money developerRevenueInBuyerCurrency)
developerRevenueInBuyerCurrency
- developerRevenueInBuyerCurrency or null
for nonepublic String getLastEventTime()
null
for nonepublic Order setLastEventTime(String lastEventTime)
lastEventTime
- lastEventTime or null
for nonepublic List<LineItem> getLineItems()
null
for nonepublic Order setLineItems(List<LineItem> lineItems)
lineItems
- lineItems or null
for nonepublic OrderDetails getOrderDetails()
null
for nonepublic Order setOrderDetails(OrderDetails orderDetails)
orderDetails
- orderDetails or null
for nonepublic OrderHistory getOrderHistory()
null
for nonepublic Order setOrderHistory(OrderHistory orderHistory)
orderHistory
- orderHistory or null
for nonepublic String getOrderId()
null
for nonepublic Order setOrderId(String orderId)
orderId
- orderId or null
for nonepublic PointsDetails getPointsDetails()
null
for nonepublic Order setPointsDetails(PointsDetails pointsDetails)
pointsDetails
- pointsDetails or null
for nonepublic String getPurchaseToken()
null
for nonepublic Order setPurchaseToken(String purchaseToken)
purchaseToken
- purchaseToken or null
for nonepublic String getState()
null
for nonepublic Order setState(String state)
state
- state or null
for nonepublic Money getTax()
null
for nonepublic Order setTax(Money tax)
tax
- tax or null
for nonepublic Money getTotal()
null
for nonepublic Order setTotal(Money total)
total
- total or null
for nonepublic Order set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public Order clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2025 Google. All rights reserved.