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]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).
| Name | Type | Summary |
|---|---|---|
billingPeriod | string | ISO 8601 period (P1W, P1M, P1Y) |
formattedPrice | string | Formatted price string with currency symbol |
priceAmountMicros | string | Price in micro-units (divide by 1,000,000) |
priceCurrencyCode | string | ISO 4217 currency code |
billingCycleCount | number | Number of cycles for this phase |
recurrenceMode | number | How this phase recurs — see Recurrence Mode Values below. |
Recurrence Mode Values#
| Value | Description | Use Case |
|---|---|---|
1 | INFINITE_RECURRING | Standard subscription (repeats forever) |
2 | FINITE_RECURRING | Limited recurring (e.g., 3 months at intro price) |
3 | NON_RECURRING | One-time (e.g., free trial) |
PricingPhasesAndroid#
Container wrapping the list of pricing phases for an offer.
| Name | Type | Summary |
|---|---|---|
pricingPhaseList | PricingPhaseAndroid[] | Ordered list of pricing phases (intro → trial → standard). |