Package com.adapty.models
Class AdaptyPurchaseResult.Success
-
- All Implemented Interfaces:
public final class AdaptyPurchaseResult.Success extends AdaptyPurchaseResult
The purchase succeeded with an
AdaptyProfile.
-
-
Field Summary
Fields Modifier and Type Field Description private final AdaptyProfileprofileprivate final Purchasepurchase
-
Constructor Summary
Constructors Constructor Description AdaptyPurchaseResult.Success(AdaptyProfile profile, Purchase purchase)
-
Method Summary
Modifier and Type Method Description final AdaptyProfilegetProfile()An AdaptyProfile which contains the up-to-date information about the user. final PurchasegetPurchase()A Purchase object, which represents the payment. StringtoString()-
-
Constructor Detail
-
AdaptyPurchaseResult.Success
AdaptyPurchaseResult.Success(AdaptyProfile profile, Purchase purchase)
-
-
Method Detail
-
getProfile
final AdaptyProfile getProfile()
An AdaptyProfile which contains the up-to-date information about the user.
-
getPurchase
final Purchase getPurchase()
A Purchase object, which represents the payment.
-
-
-
-