Android only. Turns a purchase into an upgrade or downgrade of a subscription the user already has, rather than a new one. Pass it through AdaptyPurchaseParameters.SubscriptionUpdateParams; iOS handles the change itself through the subscription group and ignores this.
More...
Android only. Turns a purchase into an upgrade or downgrade of a subscription the user already has, rather than a new one. Pass it through AdaptyPurchaseParameters.SubscriptionUpdateParams; iOS handles the change itself through the subscription group and ignores this.
◆ AdaptySubscriptionUpdateParameters()
Describes the subscription this purchase replaces.
- Parameters
-
| oldSubVendorProductId | The Google Play product id of the subscription being replaced. |
- Parameters
-
| replacementMode | When the change takes effect. |
- Exceptions
-
| ArgumentNullException | oldSubVendorProductId is null. |
◆ ToString()
| override string AdaptySDK.AdaptySubscriptionUpdateParameters.ToString |
( |
| ) |
|
A description for logs and the debugger. The format is not part of the contract — read the members rather than parsing it.
◆ OldSubVendorProductId
| string AdaptySDK.AdaptySubscriptionUpdateParameters.OldSubVendorProductId |
The Google Play product id of the subscription being replaced. Required.
◆ ReplacementMode
When the change takes effect and how the remaining time is credited. Required.
The documentation for this class was generated from the following file: