Heystack\Ecommerce\Transaction\Collator
Class Collator
Synopsis
class Collator
implements
ViewableDataInterface
{
- // methods
- public void __construct()
- public array getCastings()
- public array getDynamicMethods()
- public Money getTotal()
- public Money getSubTotal()
- protected Money sumModifiers()
- // Inherited methods from HasTransactionTrait
- public void setTransaction()
- public TransactionInterface getTransaction()
- // Inherited methods from HasCurrencyServiceTrait
- public void setCurrencyService()
- public CurrencyServiceInterface getCurrencyService()
- // Inherited methods from HasLocaleServiceTrait
- public void setLocaleService()
- public LocaleServiceInterface getLocaleService()
Hierarchy
Uses
- Heystack\Ecommerce\Transaction\Traits\HasTransactionTrait
- Heystack\Ecommerce\Currency\Traits\HasCurrencyServiceTrait
- Heystack\Ecommerce\Locale\Traits\HasLocaleServiceTrait
Implements
- Heystack\Core\ViewableData\ViewableDataInterface
Members
protected
- $currencyService — \Heystack\Ecommerce\Currency\Interfaces\CurrencyServiceInterface
- $localeService — \Heystack\Ecommerce\Locale\Interfaces\LocaleServiceInterface
- $transaction — \Heystack\Ecommerce\Transaction\Interfaces\TransactionInterface