Package io.appmetrica.analytics
Class Revenue.Receipt.Builder
java.lang.Object
io.appmetrica.analytics.Revenue.Receipt.Builder
- Enclosing class:
- Revenue.Receipt
Builder class for
Revenue.Receipt objects.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Creates theRevenue.Receiptinstance.Sets details about the in-app purchase order from Google Play.withSignature(String signature) Sets the signature of the in-app purchase order from Google Play.
-
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:
-
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:
-
build
Creates theRevenue.Receiptinstance.- Returns:
- The
Revenue.Receiptobject
-