AdaptySDK 4.1.1
Loading...
Searching...
No Matches
AdaptySDK.AdaptyPurchaseResult Class Referencesealed

How a purchase ended, and the updated profile when it succeeded. More...

Public Member Functions

override string ToString ()
 A description for logs and the debugger. The format is not part of the contract — read the members rather than parsing it.

Public Attributes

readonly AdaptyPurchaseResultType Type
 How the purchase ended.
readonly AdaptyProfile Profile
 The profile as it stands after the purchase. Only for AdaptyPurchaseResultType.Success — null otherwise.
readonly string AppleJWSTransaction
 iOS only. The signed App Store transaction, for server-side verification of your own. Null off iOS, and when the store does not provide one.
readonly string GooglePurchaseToken
 Android only. The Google Play purchase token, for server-side verification of your own. Null off Android, and when the store does not provide one.

Private Member Functions

 AdaptyPurchaseResult ()

Detailed Description

How a purchase ended, and the updated profile when it succeeded.

Constructor & Destructor Documentation

◆ AdaptyPurchaseResult()

AdaptySDK.AdaptyPurchaseResult.AdaptyPurchaseResult ( )
private

Member Function Documentation

◆ ToString()

override string AdaptySDK.AdaptyPurchaseResult.ToString ( )

A description for logs and the debugger. The format is not part of the contract — read the members rather than parsing it.

Member Data Documentation

◆ AppleJWSTransaction

readonly string AdaptySDK.AdaptyPurchaseResult.AppleJWSTransaction

iOS only. The signed App Store transaction, for server-side verification of your own. Null off iOS, and when the store does not provide one.

◆ GooglePurchaseToken

readonly string AdaptySDK.AdaptyPurchaseResult.GooglePurchaseToken

Android only. The Google Play purchase token, for server-side verification of your own. Null off Android, and when the store does not provide one.

◆ Profile

readonly AdaptyProfile AdaptySDK.AdaptyPurchaseResult.Profile

The profile as it stands after the purchase. Only for AdaptyPurchaseResultType.Success — null otherwise.

◆ Type

readonly AdaptyPurchaseResultType AdaptySDK.AdaptyPurchaseResult.Type

How the purchase ended.


The documentation for this class was generated from the following file: