Use this page with AI

Copy this into your coding assistant and add your request.

Read https://openiap.dev/docs/types/android/pricing-phase-android and https://openiap.dev/llms.txt. Follow the reading instructions, detailed reference, and linked guides relevant to my task before making changes.
Inspect my existing project and reuse its framework and conventions. Ask me for missing product decisions. Implement the requested behavior and run the applicable checks.
Show the working result, the commands and actual test results, and any remaining limitations. Keep your explanation brief.

My request: [describe what customers should be able to do]
See an example request →

PricingPhaseAndroid

PricingPhase#

Pricing phase for Android subscriptions. Mirrors Play Billing's PricingPhase one-to-one.

Android only. Mirrors ProductDetails.PricingPhase — one billing-cycle phase of a subscription's pricing schedule (Google docs).

NameTypeSummary
billingPeriodstringISO 8601 period (P1W, P1M, P1Y)
formattedPricestringFormatted price string with currency symbol
priceAmountMicrosstringPrice in micro-units (divide by 1,000,000)
priceCurrencyCodestringISO 4217 currency code
billingCycleCountnumberNumber of cycles for this phase
recurrenceModenumberHow this phase recurs — see Recurrence Mode Values below.

Recurrence Mode Values#

ValueDescriptionUse Case
1INFINITE_RECURRINGStandard subscription (repeats forever)
2FINITE_RECURRINGLimited recurring (e.g., 3 months at intro price)
3NON_RECURRINGOne-time (e.g., free trial)

PricingPhasesAndroid#

Container wrapping the list of pricing phases for an offer.

NameTypeSummary
pricingPhaseListPricingPhaseAndroid[]Ordered list of pricing phases (intro → trial → standard).