Enclosing class:
Revenue


public static class Revenue.Receipt
extends java.lang.Object
Класс содержит информацию о покупках в приложении.

Используется для валидации покупок в Google Play.

See Also:
Android In-App Billing API, Revenue.receipt

Nested Class Summary

Nested Classes
Modifier and TypeClass and Description
static class Revenue.Receipt.Builder
Конструктор создает объект класса Revenue.Receipt.

Field Summary

Fields
Modifier and TypeField and Description
java.lang.Stringdata
Информация о покупке из Google Play.
java.lang.Stringsignature
Подпись, подтверждающая покупку в Google Play.

Method Summary

All Methods
Static Methods
Concrete Methods
Modifier and TypeMethod and Description
static Revenue.Receipt.BuildernewBuilder()
Создает объект класса Revenue.Receipt.Builder.

Methods inherited from class java.lang.Object

clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Field Detail

data

@Nullable
public final java.lang.String data
Информация о покупке из Google Play.

Поле заполняется данными, полученными из INAPP_PURCHASE_DATA.

See Also:
The getBuyIntent() method, Revenue.Receipt.Builder.withData(String)

signature

@Nullable
public final java.lang.String signature
Подпись, подтверждающая покупку в Google Play.

Поле заполняется данными, полученными из INAPP_DATA_SIGNATURE.

See Also:
The getBuyIntent() method, Revenue.Receipt.Builder.withSignature(String)

Method Detail

newBuilder

@NonNull
public static Revenue.Receipt.Builder newBuilder()
Создает объект класса Revenue.Receipt.Builder.
Returns:
Объект класса Revenue.Receipt.Builder.