Variables

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

Trait Variables

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 – The donation purchasable