Skip to main content

ActorPricingInfo

Result of the ChargingManager.get_pricing_info method.

Index

Properties

is_pay_per_event

is_pay_per_event: bool

A shortcut - true if the Actor runs with the pay-per-event pricing model.

max_total_charge_usd

max_total_charge_usd: Decimal

A configured limit for the total charged amount - if you exceed it, you won't receive more money than this.

per_event_prices

per_event_prices: dict[str, Decimal]

Price of every known event type.

pricing_model

pricing_model: PricingModel | None

The currently effective pricing model.