The optional extras of a purchase. Both are Android only — on iOS an instance changes nothing, and Adapty.MakePurchase(AdaptyPaywallProduct, System.Action<AdaptyPurchaseResult, AdaptyError>) without one is the same call.
More...
|
| | AdaptyPurchaseParameters (AdaptySubscriptionUpdateParameters subscriptionUpdateParams=null, bool? isOfferPersonalized=null) |
| | Builds the extras for one purchase. Both are Android only.
|
| 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.
|
The optional extras of a purchase. Both are Android only — on iOS an instance changes nothing, and Adapty.MakePurchase(AdaptyPaywallProduct, System.Action<AdaptyPurchaseResult, AdaptyError>) without one is the same call.
◆ AdaptyPurchaseParameters()
Builds the extras for one purchase. Both are Android only.
- Parameters
-
| subscriptionUpdateParams | Android only. The subscription this purchase replaces, or null. |
| isOfferPersonalized | Android only. Whether the price shown was personalised, or null. |
◆ ToString()
| override string AdaptySDK.AdaptyPurchaseParameters.ToString |
( |
| ) |
|
A description for logs and the debugger. The format is not part of the contract — read the members rather than parsing it.
◆ IsOfferPersonalized
| readonly? bool AdaptySDK.AdaptyPurchaseParameters.IsOfferPersonalized |
Android only. Declares to Google Play that the price shown was personalised to this user, which some jurisdictions require disclosing. Null leaves the native default.
◆ SubscriptionUpdateParams
Android only. Makes the purchase replace a subscription the user already has. Null for an ordinary purchase.
The documentation for this class was generated from the following file: