AccessPlanPurchaseSummary

class AccessPlanPurchaseSummary[source]

A summary of a tenant-wide access plan purchase.

scope: Literal['access-plan']

The scope of the purchase.

purchased_item: TenantAccessPlan

The specific, immutable plan object that was purchased. The expiry date is calculated from success_at + purchased_item.duration.

id: str

The id of the transaction.

success_at: datetime

Timestamp when this purchase was successful.

item_purchase_iteration: PurchaseIteration

Which purchase iteration for the exact purchased_item this is.