Skip to content

PlanPrice

Source code in docs_src/capo_appmonetization/types/plan_price.py
class PlanPrice(TypedDict, closed=True):
    plan_code: "capo_appmonetization.types.recommended_plan_code.RecommendedPlanCode"
    """Plan code as returned in `plans`, for example `pro`. Each plan code appears once."""
    action_name: NotRequired["capo_appmonetization.types.action_name.ActionName"]
    """With `pay_as_you_go` only: the action this rate is for, one of `actions[].name`; the other actions keep their recommended rates. Absent on `pay_as_you_go`: one rate for every charged action, accepted only when `pricingModel` is PER_USE."""
    price: "capo_appmonetization.types.price.Price"
    """Price per billing cycle, or per use for `pay_as_you_go` (at least 0.01). A whole number of cents. USD only: another currencyCode is rejected."""

action_name instance-attribute

action_name: NotRequired[ActionName]

With pay_as_you_go only: the action this rate is for, one of actions[].name; the other actions keep their recommended rates. Absent on pay_as_you_go: one rate for every charged action, accepted only when pricingModel is PER_USE.

plan_code instance-attribute

Plan code as returned in plans, for example pro. Each plan code appears once.

price instance-attribute

price: Price

Price per billing cycle, or per use for pay_as_you_go (at least 0.01). A whole number of cents. USD only: another currencyCode is rejected.