Package com.yandex.metrica
Class Revenue.Receipt.Builder
java.lang.Object
com.yandex.metrica.Revenue.Receipt.Builder
- Enclosing class:
- Revenue.Receipt
public static class Revenue.Receipt.Builder
extends java.lang.Object
Builder class for
Revenue.Receipt objects.-
Method Summary
Modifier and Type Method Description Revenue.Receiptbuild()Creates theRevenue.Receiptinstance.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 Details
-
withData
Sets details about the in-app purchase order from Google Play.- Parameters:
data- INAPP_PURCHASE_DATA value- Returns:
- The same
Revenue.Receipt.Builderobject - See Also:
-
The getBuyIntent() method,
Revenue.Receipt.data
-
withSignature
Sets the signature of the in-app purchase order from Google Play.- Parameters:
signature- INAPP_DATA_SIGNATURE value- Returns:
- The same
Revenue.Receipt.Builderobject - See Also:
-
The getBuyIntent() method,
Revenue.Receipt.signature
-
build
Creates theRevenue.Receiptinstance.- Returns:
- The
Revenue.Receiptobject
-