Skip to content

Variables ​

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

Trait Variables

View source

Public Properties ​

PropertyDescription
donationcraft\commerce\elements\Donation – the address service

donation ​

Type
craft\commerce\elements\Donation
Default value
null

the address service

View source

Public Methods ​

MethodDescription
getDonation()Returns the donation purchasable

getDonation() ​

Returns the donation purchasable

View source

Returns ​

craft\commerce\elements\Donation, null – The donation purchasable