TenantAccessPlanWithRefundData#

class TenantAccessPlanWithRefundData[source]#

Option to purchase access to all courses, with information on refund state.

is_repurchase: bool#

Would this be a re-purchase for this access plan, since a refunded purchase exists that has not expired yet.

tag: Literal['tenant-access-plan']#

This is a access plan for a tenant.

duration: timedelta#

The duration the pass would be active.

tenant_id: str#

The id of the tenant for which the plan is.

id: str#

The id of the price.

currency: Currency#

The currency this price is in.

amount: str#

The amount of the above currency the price is.

refund_period: timedelta#

The amount of time you have to ask for a refund.

tax_behavior: TaxBehavior#

Is tax included or excluded in the price?