Blesta Source Documentation

CollectionTaxes

Trait to fetch taxes from an ItemPriceCollection

Table of Contents

Methods

getTaxes() Retrieves the taxes for all items in the collection
Methods

getTaxes()

Retrieves the taxes for all items in the collection

protected getTaxes(ItemPriceCollection $collection) : array<string|int, mixed>
Parameters
$collection : ItemPriceCollection

The collection from which to fetch all taxes

Return values
array<string|int, mixed>

An array of stdClass objects representing each tax, including:

  • description The tax description
  • amount The tax amount
  • type The tax type
  • total The total amount actually taxed
Tags
subpackage

core.Pricing.Presenter.Collection

copyright

Copyright (c) 2019, Phillips Data, Inc.

license

http://www.blesta.com/license/ The Blesta License Agreement

link

Blesta


        
On this page

Search results