-
- All Implemented Interfaces:
-
com.appsflyer.api.AFSerializable,java.io.Serializable
public final class InAppPurchaseEvent extends PurchaseEvent
-
-
Field Summary
Fields Modifier and Type Field Description private final StringpackageNameprivate final Integerquantityprivate final Map<String, OneTimePurchaseOfferDetails>oneTimePurchaseOfferDetailsprivate final List<String>productIdsprivate final StringpurchaseTokenprivate final Storestoreprivate final StringproductTypeprivate final LongpurchaseTime
-
Method Summary
Modifier and Type Method Description final StringgetPackageName()final IntegergetQuantity()final Map<String, OneTimePurchaseOfferDetails>getOneTimePurchaseOfferDetails()final List<String>getProductIds()final StringgetPurchaseToken()final StoregetStore()final StringgetProductType()final LonggetPurchaseTime()Map<String, Object>toJsonMap()Booleanequals(Object other)IntegerhashCode()-
-
Constructor Detail
-
InAppPurchaseEvent
InAppPurchaseEvent(List<String> productIds, String purchaseToken, Store store, Long purchaseTime, String packageName, Integer quantity, Map<String, OneTimePurchaseOfferDetails> oneTimePurchaseOfferDetails)
- Parameters:
productIds- List of uniques product identifierpurchaseToken- see com.android.billingclient.api.Purchase.getPurchaseTokenstore- see StorepackageName- see com.android.billingclient.api.Purchase.getPackageNamequantity- see com.android.billingclient.api.Purchase.getQuantityoneTimePurchaseOfferDetails- Key represent the Product ID and the value the OneTimePurchaseOfferDetails associate with the key.
-
-
Method Detail
-
getPackageName
final String getPackageName()
-
getQuantity
final Integer getQuantity()
-
getOneTimePurchaseOfferDetails
final Map<String, OneTimePurchaseOfferDetails> getOneTimePurchaseOfferDetails()
-
getProductIds
final List<String> getProductIds()
-
getPurchaseToken
final String getPurchaseToken()
-
getProductType
final String getProductType()
-
getPurchaseTime
final Long getPurchaseTime()
-
-
-
-