|
1 | | -The `BillingPlan` object is similar to the [`BillingPlanResource`](/docs/reference/javascript/types/billing-plan-resource) object as it holds information about a plan, as well as methods for managing it. However, the `BillingPlan` object is different in that it is used in the [Backend API](/docs/reference/backend-api/tag/commerce/get/commerce/plans) and is not directly accessible from the Frontend API. |
| 1 | +The `BillingPlan` object is similar to the [`BillingPlanResource`](/docs/reference/javascript/types/billing-plan-resource) object as it holds information about a Plan, as well as methods for managing it. However, the `BillingPlan` object is different in that it is used in the [Backend API](/docs/reference/backend-api/tag/commerce/get/commerce/plans) and is not directly accessible from the Frontend API. |
2 | 2 |
|
3 | 3 | ## Properties |
4 | 4 |
|
5 | 5 | | Property | Type | Description | |
6 | 6 | | ------------------------------------------------ | --------------------------------------- | --------------------------------------------------------------- | |
7 | | -| <a id="annualfee"></a> `annualFee` | <code>null \| BillingMoneyAmount</code> | The annual fee of the plan. | |
8 | | -| <a id="annualmonthlyfee"></a> `annualMonthlyFee` | <code>null \| BillingMoneyAmount</code> | The annual fee of the plan on a monthly basis. | |
9 | | -| <a id="description"></a> `description` | <code>null \| string</code> | The description of the plan. | |
10 | | -| <a id="features"></a> `features` | <code>[Feature](feature.mdx)[]</code> | The features the plan offers. | |
11 | | -| <a id="fee"></a> `fee` | `BillingMoneyAmount` | The monthly fee of the plan. | |
12 | | -| <a id="forpayertype"></a> `forPayerType` | <code>"user" \| "org"</code> | The type of payer for the plan. | |
13 | | -| <a id="hasbasefee"></a> `hasBaseFee` | `boolean` | Whether the plan has a base fee. | |
14 | | -| <a id="id"></a> `id` | `string` | The unique identifier for the plan. | |
15 | | -| <a id="isdefault"></a> `isDefault` | `boolean` | Whether the plan is the default plan. | |
16 | | -| <a id="isrecurring"></a> `isRecurring` | `boolean` | Whether the plan is recurring. | |
17 | | -| <a id="name"></a> `name` | `string` | The name of the plan. | |
18 | | -| <a id="publiclyvisible"></a> `publiclyVisible` | `boolean` | Whether the plan is displayed in the `<PriceTable/>` component. | |
19 | | -| <a id="slug"></a> `slug` | `string` | The URL-friendly identifier of the plan. | |
| 7 | +| <a id="annualfee"></a> `annualFee` | <code>null \| BillingMoneyAmount</code> | The annual fee of the Plan. | |
| 8 | +| <a id="annualmonthlyfee"></a> `annualMonthlyFee` | <code>null \| BillingMoneyAmount</code> | The annual fee of the Plan on a monthly basis. | |
| 9 | +| <a id="description"></a> `description` | <code>null \| string</code> | The description of the Plan. | |
| 10 | +| <a id="features"></a> `features` | <code>[Feature](feature.mdx)[]</code> | The features the Plan offers. | |
| 11 | +| <a id="fee"></a> `fee` | `BillingMoneyAmount` | The monthly fee of the Plan. | |
| 12 | +| <a id="forpayertype"></a> `forPayerType` | <code>"user" \| "org"</code> | The type of payer for the Plan. | |
| 13 | +| <a id="hasbasefee"></a> `hasBaseFee` | `boolean` | Whether the Plan has a base fee. | |
| 14 | +| <a id="id"></a> `id` | `string` | The unique identifier for the Plan. | |
| 15 | +| <a id="isdefault"></a> `isDefault` | `boolean` | Whether the Plan is the default Plan. | |
| 16 | +| <a id="isrecurring"></a> `isRecurring` | `boolean` | Whether the Plan is recurring. | |
| 17 | +| <a id="name"></a> `name` | `string` | The name of the Plan. | |
| 18 | +| <a id="publiclyvisible"></a> `publiclyVisible` | `boolean` | Whether the Plan is displayed in the `<PriceTable/>` component. | |
| 19 | +| <a id="slug"></a> `slug` | `string` | The URL-friendly identifier of the Plan. | |
0 commit comments