Enumeration Case

SKProductDiscount.PaymentMode.payAsYouGo

A constant indicating that the payment mode of a product discount is billed over a single or multiple billing periods.

Declaration

case payAsYouGo = 0

Discussion

With a pay as you go payment mode, users pay the discounted price at each billing period during the discount period.

Example of a subscription timeline with a pay as you go payment mode. The  introductory price is billed three times.

See Also

Discount Price Payment Modes

case payUpFront

A constant indicating that the payment mode of a product discount is paid up front.

case freeTrial

A constant that indicates that the payment mode is a free trial.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software