-
- All Implemented Interfaces:
-
com.appsflyer.api.AFSerializable,java.io.Serializable
public final class SubscriptionPurchaseEvent extends PurchaseEvent
-
-
Field Summary
Fields Modifier and Type Field Description private final Map<String, List<SubscriptionOfferDetails>>subscriptionOfferDetailsprivate final List<String>productIdsprivate final StringpurchaseTokenprivate final Storestoreprivate final StringproductTypeprivate final LongpurchaseTime
-
Constructor Summary
Constructors Constructor Description SubscriptionPurchaseEvent(List<String> productIds, String purchaseToken, Store store, Long purchaseTime, Map<String, List<SubscriptionOfferDetails>> subscriptionOfferDetails)
-
Method Summary
Modifier and Type Method Description final Map<String, List<SubscriptionOfferDetails>>getSubscriptionOfferDetails()final List<String>getProductIds()final StringgetPurchaseToken()final StoregetStore()final StringgetProductType()final LonggetPurchaseTime()Map<String, Object>toJsonMap()Booleanequals(Object other)IntegerhashCode()-
-
Constructor Detail
-
SubscriptionPurchaseEvent
SubscriptionPurchaseEvent(List<String> productIds, String purchaseToken, Store store, Long purchaseTime, Map<String, List<SubscriptionOfferDetails>> subscriptionOfferDetails)
- Parameters:
productIds- List of uniques product identifierpurchaseToken- see com.android.billingclient.api.Purchase.getPurchaseTokenstore- see StoresubscriptionOfferDetails- Key represent the Product ID and the value list of all SubscriptionOfferDetails associate with the key
-
-
Method Detail
-
getSubscriptionOfferDetails
final Map<String, List<SubscriptionOfferDetails>> getSubscriptionOfferDetails()
-
getProductIds
final List<String> getProductIds()
-
getPurchaseToken
final String getPurchaseToken()
-
getProductType
final String getProductType()
-
getPurchaseTime
final Long getPurchaseTime()
-
-
-
-