Class SubscriptionPlan
Represents a subscription's plan as the store prices it, in the currency the store quotes.
public class SubscriptionPlan
- Inheritance
-
SubscriptionPlan
- Inherited Members
Properties
BasePrice
Gets the price of each billing period.
public required double BasePrice { get; init; }
Property Value
CheckoutUrl
Gets the page the plan is bought on, for a store that sells on the web, which the UI opens as any link; or null where the purchase happens in the app.
public Uri? CheckoutUrl { get; init; }
Property Value
CurrencyCode
Gets the currency's ISO 4217 code, as USD.
public required string CurrencyCode { get; init; }
Property Value
CurrencySymbol
Gets the currency's symbol, as $.
public required string CurrencySymbol { get; init; }
Property Value
CurrentPrice
Gets the first price the person pays: the introductory price where the offer has one, else BasePrice.
public required double CurrentPrice { get; init; }
Property Value
Period
Gets the billing period, as an ISO 8601 duration, as P1M.
public required string Period { get; init; }
Property Value
PlanToken
Gets the plan's opaque token, which a purchase names; only the billing provider that made it reads it.
public required string PlanToken { get; init; }
Property Value
TrialPeriod
Gets the free trial's period, as an ISO 8601 duration, or null where the offer has none.
public string? TrialPeriod { get; init; }