Skip to content

CreateOneTimePriceRequest

Source code in docs_src/capo_appmonetization/types/create_one_time_price_request.py
class CreateOneTimePriceRequest(TypedDict, closed=True):
    app_id: "capo_appmonetization.types.app_id.AppId"
    """The ID of the app the one-time price belongs to."""
    definition: (
        "capo_appmonetization.types.one_time_price_definition.OneTimePriceDefinition"
    )
    """The definition of the one-time price to create, including its display name, price, metric, and credited capacity."""
    client_token: NotRequired["capo_appmonetization.types.client_token.ClientToken"]
    """A unique, case-sensitive identifier to ensure that the operation completes no more than one time. If this token matches a previous request, the service ignores the request but does not return an error."""
    tags: NotRequired["capo_appmonetization.types.tag_map.TagMap"]
    """Optional tags to add to the one-time price when it is created. Tagging on create also requires permission for appmonetization:TagResource."""

app_id instance-attribute

app_id: AppId

The ID of the app the one-time price belongs to.

client_token instance-attribute

client_token: NotRequired[ClientToken]

A unique, case-sensitive identifier to ensure that the operation completes no more than one time. If this token matches a previous request, the service ignores the request but does not return an error.

definition instance-attribute

The definition of the one-time price to create, including its display name, price, metric, and credited capacity.

tags instance-attribute

tags: NotRequired[TagMap]

Optional tags to add to the one-time price when it is created. Tagging on create also requires permission for appmonetization:TagResource.