Skip to content

CustomerType

Source code in docs_src/capo_appmonetization/types/customer_type.py
class CustomerType(TypedDict, closed=True):
    name: "capo_appmonetization.types.customer_type_name.CustomerTypeName"
    """Short name of the customer type, for example `solo devs`."""
    share: "capo_appmonetization.types.customer_segment_share.CustomerSegmentShare"
    """Share of users of this type. Shares are relative: they are scaled to sum to 100."""
    usage_multiplier: "capo_appmonetization.types.segment_multiplier.SegmentMultiplier"
    """Uses per month as a multiple of each action's `typicalMonthlyUsage` (2 = twice as many)."""
    value_per_use_multiplier: (
        "capo_appmonetization.types.segment_multiplier.SegmentMultiplier"
    )
    """Value of one use as a multiple of an ordinary user's (0.5 = half, 2 = twice)."""
    usage_spread: NotRequired["capo_appmonetization.types.usage_spread.UsageSpread"]
    """How similar customers of this type are in how much they use the app. Absent: the segment's default."""
    feature_weights: NotRequired[
        "capo_appmonetization.types.feature_weight_map.FeatureWeightMap"
    ]
    """How much each characteristic in `features` matters to this type, when it differs from the shared `features.weights`. Absent: `features.weights` (equal weights when that is absent too). Used only when a comparable or an outside option in `alternatives` is scored by `features`; sent otherwise, it is rejected."""

feature_weights instance-attribute

feature_weights: NotRequired[FeatureWeightMap]

How much each characteristic in features matters to this type, when it differs from the shared features.weights. Absent: features.weights (equal weights when that is absent too). Used only when a comparable or an outside option in alternatives is scored by features; sent otherwise, it is rejected.

name instance-attribute

Short name of the customer type, for example solo devs.

share instance-attribute

Share of users of this type. Shares are relative: they are scaled to sum to 100.

usage_multiplier instance-attribute

usage_multiplier: SegmentMultiplier

Uses per month as a multiple of each action's typicalMonthlyUsage (2 = twice as many).

usage_spread instance-attribute

usage_spread: NotRequired[UsageSpread]

How similar customers of this type are in how much they use the app. Absent: the segment's default.

value_per_use_multiplier instance-attribute

value_per_use_multiplier: SegmentMultiplier

Value of one use as a multiple of an ordinary user's (0.5 = half, 2 = twice).