|
AdaptySDK 4.1.1
|
A discounted offer on a subscription, and the phases it runs through. 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 string | Identifier |
| The offer id the store knows it by. Null for an introductory offer on iOS, which has none. | |
| readonly AdaptySubscriptionOfferType | Type |
| Which kind of offer this is. | |
| readonly IReadOnlyList< AdaptySubscriptionPhase > | Phases |
| The phases the offer runs through, in order. | |
| readonly IReadOnlyList< string > | OfferTags |
| Android only. The tags Google Play carries on the offer. Null on iOS. | |
Package Functions | |
| AdaptySubscriptionOffer (string identifier, AdaptySubscriptionOfferType type, IList< AdaptySubscriptionPhase > phases, IList< string > offerTags) | |
A discounted offer on a subscription, and the phases it runs through.
The contract nests the identifier and the type inside offer_identifier while the model keeps them flat, so this one is built by AdaptySDK.Serialization.AdaptyConverterSubscriptionOffer rather than from member annotations.
|
package |
| override string AdaptySDK.AdaptySubscriptionOffer.ToString | ( | ) |
A description for logs and the debugger. The format is not part of the contract — read the members rather than parsing it.
| readonly string AdaptySDK.AdaptySubscriptionOffer.Identifier |
The offer id the store knows it by. Null for an introductory offer on iOS, which has none.
| readonly IReadOnlyList<string> AdaptySDK.AdaptySubscriptionOffer.OfferTags |
Android only. The tags Google Play carries on the offer. Null on iOS.
| readonly IReadOnlyList<AdaptySubscriptionPhase> AdaptySDK.AdaptySubscriptionOffer.Phases |
The phases the offer runs through, in order.
| readonly AdaptySubscriptionOfferType AdaptySDK.AdaptySubscriptionOffer.Type |
Which kind of offer this is.