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

# Public Properties

Property Description
dateArchived DateTime – When the plan was archived
enabled boolean – Whether the plan is enabled on site
gatewayId integer – The gateway ID.
handle string – Plan handle
id integer – Plan ID
isArchived boolean – Whether the plan is archived
name string – Plan name
planData string – Gateway response
planInformationId integer – ID of the entry containing plan information
reference string – Plan reference on the gateway
sortOrder integer – Sort order
uid string – Plan uid

# dateArchived

Type
DateTime

When the plan was archived

View source

# enabled

Type
boolean

Whether the plan is enabled on site

View source

# gatewayId

Type
integer

The gateway ID.

View source

# handle

Type
string

Plan handle

View source

# id

Type
integer

Plan ID

View source

# isArchived

Type
boolean

Whether the plan is archived

View source

# name

Type
string

Plan name

View source

# planData

Type
string

Gateway response

View source

# planInformationId

Type
integer

ID of the entry containing plan information

View source

# reference

Type
string

Plan reference on the gateway

View source

# sortOrder

Type
integer

Sort order

View source

# uid

Type
string

Plan uid

View source