-
- All Implemented Interfaces:
-
android.os.Parcelable
@Serializable() public final class PLYSubscription implements Parcelable
-
-
Field Summary
Fields Modifier and Type Field Description private final Stringidprivate final StoreTypestoreTypeprivate final StringpurchaseTokenprivate final StringplanIdprivate final StringcancelledAtprivate final StringnextRenewalAtprivate final StringoriginalPurchasedAtprivate final StringpurchasedAtprivate final PLYOfferTypeofferTypeprivate final PLYEnvironmentenvironmentprivate final StringstoreCountryprivate final BooleanisFamilySharedprivate final StringcontentIdprivate final StringofferIdentifierprivate final PLYSubscriptionStatussubscriptionStatusprivate final PLYPlanplan
-
Constructor Summary
Constructors Constructor Description PLYSubscription(String id, StoreType storeType, String purchaseToken, String planId, String cancelledAt, String nextRenewalAt, String originalPurchasedAt, String purchasedAt, PLYOfferType offerType, PLYEnvironment environment, String storeCountry, Boolean isFamilyShared, String contentId, String offerIdentifier, PLYSubscriptionStatus subscriptionStatus, PLYPlan plan)
-
Method Summary
Modifier and Type Method Description final StringgetId()final StoreTypegetStoreType()final StringgetPurchaseToken()final StringgetPlanId()final StringgetCancelledAt()final StringgetNextRenewalAt()final StringgetOriginalPurchasedAt()final StringgetPurchasedAt()final PLYOfferTypegetOfferType()final PLYEnvironmentgetEnvironment()final StringgetStoreCountry()final BooleangetIsFamilyShared()final StringgetContentId()final StringgetOfferIdentifier()final PLYSubscriptionStatusgetSubscriptionStatus()final PLYPlangetPlan()final DategetRenewalDate()final StringgetFormattedRenewalDate(Context context)final Map<String, Object>toMap()-
-
Constructor Detail
-
PLYSubscription
PLYSubscription(String id, StoreType storeType, String purchaseToken, String planId, String cancelledAt, String nextRenewalAt, String originalPurchasedAt, String purchasedAt, PLYOfferType offerType, PLYEnvironment environment, String storeCountry, Boolean isFamilyShared, String contentId, String offerIdentifier, PLYSubscriptionStatus subscriptionStatus, PLYPlan plan)
-
-
Method Detail
-
getStoreType
final StoreType getStoreType()
-
getPurchaseToken
final String getPurchaseToken()
-
getCancelledAt
final String getCancelledAt()
-
getNextRenewalAt
final String getNextRenewalAt()
-
getOriginalPurchasedAt
final String getOriginalPurchasedAt()
-
getPurchasedAt
final String getPurchasedAt()
-
getOfferType
final PLYOfferType getOfferType()
-
getEnvironment
final PLYEnvironment getEnvironment()
-
getStoreCountry
final String getStoreCountry()
-
getIsFamilyShared
final Boolean getIsFamilyShared()
-
getContentId
final String getContentId()
-
getOfferIdentifier
final String getOfferIdentifier()
-
getSubscriptionStatus
final PLYSubscriptionStatus getSubscriptionStatus()
-
getRenewalDate
final Date getRenewalDate()
-
getFormattedRenewalDate
final String getFormattedRenewalDate(Context context)
-
-
-
-