PlanTrait
- Type
- Trait
- Namespace
- craft\commerce\base
- Implemented by
- craft\commerce\base\Plan, craft\commerce\models\subscriptions\DummyPlan
- Since
- 2.0
Plan trait
View source (opens new window)
# Public Properties
| Property | Description |
|---|---|
| dateArchived | DateTime (opens new window) – When the plan was archived |
| enabled | boolean (opens new window) – Whether the plan is enabled on site |
| gatewayId | integer (opens new window) – The gateway ID. |
| handle | string (opens new window) – Plan handle |
| id | integer (opens new window) – Plan ID |
| isArchived | boolean (opens new window) – Whether the plan is archived |
| name | string (opens new window) – Plan name |
| planData | string (opens new window) – Gateway response |
| planInformationId | integer (opens new window) – ID of the entry containing plan information |
| reference | string (opens new window) – Plan reference on the gateway |
| sortOrder | integer (opens new window) – Sort order |
| uid | string (opens new window) – Plan uid |
# dateArchived
When the plan was archived
View source (opens new window)
# enabled
Whether the plan is enabled on site
View source (opens new window)
# gatewayId
The gateway ID.
View source (opens new window)
# handle
Plan handle
View source (opens new window)
# id
Plan ID
View source (opens new window)
# isArchived
Whether the plan is archived
View source (opens new window)
# name
Plan name
View source (opens new window)
# planData
Gateway response
View source (opens new window)
# planInformationId
ID of the entry containing plan information
View source (opens new window)
# reference
Plan reference on the gateway
View source (opens new window)
# sortOrder
Sort order
View source (opens new window)
# uid
Plan uid