Enclosing class:
Revenue


public static class Revenue.Receipt
extends java.lang.Object
The class to store in-app purchases data.

It is used for verifying Google Play purchases.

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

Nested Class Summary

Nested Classes
Modifier and TypeClass and Description
static class Revenue.Receipt.Builder
Builder class for Revenue.Receipt objects.

Field Summary

Fields
Modifier and TypeField and Description
java.lang.Stringdata
Details about the in-app purchase order from Google Play.
java.lang.Stringsignature
Signature of the in-app purchase order from Google Play.

Method Summary

All Methods
Static Methods
Concrete Methods
Modifier and TypeMethod and Description
static Revenue.Receipt.BuildernewBuilder()
Creates the new instance of 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
Details about the in-app purchase order from Google Play.

It should contain data from INAPP_PURCHASE_DATA.

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

signature

@Nullable
public final java.lang.String signature
Signature of the in-app purchase order from Google Play.

It should contain data from INAPP_DATA_SIGNATURE.

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

Method Detail

newBuilder

@NonNull
public static Revenue.Receipt.Builder newBuilder()
Creates the new instance of Revenue.Receipt.Builder.
Returns:
The Revenue.Receipt.Builder object