Variables

Type
Trait
Namespace
craft\commerce\plugin
Implemented by
craft\commerce\Plugin
Since
2.0

Trait Variables

View source (opens new window)

# Public Properties

Property Description
donation craft\commerce\elements\Donation – the address service

# donation

Type
craft\commerce\elements\Donation
Default value
null

the address service

View source (opens new window)

# Public Methods

Method Description
getDonation() Returns the donation purchasable

# getDonation()

Returns the donation purchasable

View source (opens new window)

Returns

craft\commerce\elements\Donation, null (opens new window) – The donation purchasable