Enclosing class:
Revenue.Receipt


public static class Revenue.Receipt.Builder
extends java.lang.Object
Builder class for Revenue.Receipt objects.

Method Summary

All Methods
Instance Methods
Concrete Methods
Modifier and TypeMethod and Description
Revenue.Receiptbuild()
Creates the Revenue.Receipt instance.
Revenue.Receipt.BuilderwithData(java.lang.String data)
Sets details about the in-app purchase order from Google Play.
Revenue.Receipt.BuilderwithSignature(java.lang.String signature)
Sets the signature of the in-app purchase order from Google Play.

Methods inherited from class java.lang.Object

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

Method Detail

withData

@NonNull
public Revenue.Receipt.Builder withData(@Nullable
                                                 java.lang.String data)
Sets details about the in-app purchase order from Google Play.
Parameters:
data - INAPP_PURCHASE_DATA value
Returns:
The same Revenue.Builder object
See Also:
The getBuyIntent() method, Revenue.Receipt.data

withSignature

@NonNull
public Revenue.Receipt.Builder withSignature(@Nullable
                                                      java.lang.String signature)
Sets the signature of the in-app purchase order from Google Play.
Parameters:
signature - INAPP_DATA_SIGNATURE value
Returns:
The same Revenue.Builder object
See Also:
The getBuyIntent() method, Revenue.Receipt.signature

build

@NonNull
public Revenue.Receipt build()
Creates the Revenue.Receipt instance.
Returns:
The Revenue.Receipt object