Skip to content

AlternativeInputs

Source code in docs_src/capo_appmonetization/types/alternative_inputs.py
class AlternativeInputs(TypedDict, closed=True):
    comparables_opt_in: NotRequired[
        "capo_appmonetization.types.comparables_opt_in.ComparablesOptIn"
    ]
    """The developer's explicit answer to whether comparable apps' public prices may be used. Required when `comparables` is sent. Absent otherwise: OPTED_OUT. Never inferred as OPTED_IN."""
    comparables: NotRequired[
        "capo_appmonetization.types.comparable_list.ComparableList"
    ]
    """Comparable apps, each read from its public pricing page, used only when `comparablesOptIn` is OPTED_IN. Each usable one becomes an alternative customers weigh against the app. At most 5 are used, best quality first; the rest, and any that cannot be used, are returned in `alternatives.comparablesDropped` with the reason. With OPTED_OUT they are still validated, but not used and not listed there. Absent: no comparables."""
    outside_options: NotRequired[
        "capo_appmonetization.types.outside_option_list.OutsideOptionList"
    ]
    """What customers do today without any product, such as doing the task by hand. Each one is an alternative customers weigh against the app, at its `monthlyCost`. These are not products, so they need no `comparablesOptIn`. Absent: none."""

comparables instance-attribute

comparables: NotRequired[ComparableList]

Comparable apps, each read from its public pricing page, used only when comparablesOptIn is OPTED_IN. Each usable one becomes an alternative customers weigh against the app. At most 5 are used, best quality first; the rest, and any that cannot be used, are returned in alternatives.comparablesDropped with the reason. With OPTED_OUT they are still validated, but not used and not listed there. Absent: no comparables.

comparables_opt_in instance-attribute

comparables_opt_in: NotRequired[ComparablesOptIn]

The developer's explicit answer to whether comparable apps' public prices may be used. Required when comparables is sent. Absent otherwise: OPTED_OUT. Never inferred as OPTED_IN.

outside_options instance-attribute

outside_options: NotRequired[OutsideOptionList]

What customers do today without any product, such as doing the task by hand. Each one is an alternative customers weigh against the app, at its monthlyCost. These are not products, so they need no comparablesOptIn. Absent: none.