PricingPlanDetail
Defined in: v1/schemas.ts:859
A detailed pricing plan object as returned from the /pricing_plans/:id endpoint.
Extends the base PricingPlan with frequency configuration,
free trial length, and enrolment cap.
Extends
Section titled “Extends”output<typeofPricingPlanDetailSchema>
Properties
Section titled “Properties”course_id?
Section titled “course_id?”
optionalcourse_id?:number
Defined in: v1/schemas.ts:847
Inherited from
Section titled “Inherited from”z.infer.course_id
created_at?
Section titled “created_at?”
optionalcreated_at?:string
Defined in: v1/schemas.ts:842
Inherited from
Section titled “Inherited from”z.infer.created_at
currency
Section titled “currency”currency:
string
Defined in: v1/schemas.ts:846
Inherited from
Section titled “Inherited from”z.infer.currency
description?
Section titled “description?”
optionaldescription?:string|null
Defined in: v1/schemas.ts:848
Inherited from
Section titled “Inherited from”z.infer.description
enrollment_cap?
Section titled “enrollment_cap?”
optionalenrollment_cap?:number|null
Defined in: v1/schemas.ts:850
Inherited from
Section titled “Inherited from”z.infer.enrollment_cap
free_trial_length?
Section titled “free_trial_length?”
optionalfree_trial_length?:number|null
Defined in: v1/schemas.ts:849
Inherited from
Section titled “Inherited from”z.infer.free_trial_length
frequency?
Section titled “frequency?”
optionalfrequency?: {access_limit_date?:string|null;access_limit_duration?:number|null;access_limit_interval?:string|null;billing_interval?:string|null;billing_interval_count?:number|null;type?:string; }
Defined in: v1/schemas.ts:851
access_limit_date?
Section titled “access_limit_date?”
optionalaccess_limit_date?:string|null
access_limit_duration?
Section titled “access_limit_duration?”
optionalaccess_limit_duration?:number|null
access_limit_interval?
Section titled “access_limit_interval?”
optionalaccess_limit_interval?:string|null
billing_interval?
Section titled “billing_interval?”
optionalbilling_interval?:string|null
billing_interval_count?
Section titled “billing_interval_count?”
optionalbilling_interval_count?:number|null
optionaltype?:string
Inherited from
Section titled “Inherited from”z.infer.frequency
id:
number
Defined in: v1/schemas.ts:841
Inherited from
Section titled “Inherited from”z.infer.id
optionalname?:string
Defined in: v1/schemas.ts:844
Inherited from
Section titled “Inherited from”z.infer.name
price:
number
Defined in: v1/schemas.ts:845
Inherited from
Section titled “Inherited from”z.infer.price
updated_at?
Section titled “updated_at?”
optionalupdated_at?:string
Defined in: v1/schemas.ts:843
Inherited from
Section titled “Inherited from”z.infer.updated_at