paymentMode
TypeScriptget paymentMode(): Product_SubscriptionOffer_PaymentModeSwift declarationlet paymentMode: Product.SubscriptionOffer.PaymentModeHow the user is charged for this offer.
struct · iOS 15.0+ · SDK 27.1
struct SubscriptionOfferInformation about a subscription offer configured in App Store Connect.
get paymentMode(): Product_SubscriptionOffer_PaymentModeSwift declarationlet paymentMode: Product.SubscriptionOffer.PaymentModeHow the user is charged for this offer.
get periodCount(): numberSwift declarationlet periodCount: IntThe number of periods this offer will renew for. Always 1 except for `.payAsYouGo`.
get displayPrice(): stringSwift declarationlet displayPrice: StringA localized string representation of `price`.
get id(): (string) | nullSwift declarationlet id: String?The offer identifier. This is always `nil` for introductory offers and never `nil` for other offer types.
get type(): Product_SubscriptionOffer_OfferTypeSwift declarationlet type: Product.SubscriptionOffer.OfferTypeThe type of the offer.
get price(): _Foundation_DecimalSwift declarationlet price: DecimalThe discounted price that the offer provides in local currency. This is the price per period in the case of `.payAsYouGo`
get period(): Product_SubscriptionPeriodSwift declarationlet period: Product.SubscriptionPeriodThe duration that this offer lasts before auto-renewing or changing to standard subscription renewals.
No declarations were skipped in this snapshot.