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