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).