Sunnysideup\Ecommerce\Model\OrderAttribute::OrderAttributeType
This is a key function that returns the type of the object. In principle anything can be returned but the intention is to only return a few options e.g. OrderItem, Tax, Delivery, etc... so that computations can be carried out based on the type of OrderAttribute we are looking at.
It also allows to get a group of Order Attributes that contains both modifiers and orderItems.
Signature
public function OrderAttributeType()
Returns
- string