Class Proration
Prorates all items in an ItemPriceCollection for MetaItemPrices containing relevant proration details by adjusting the MetaItemPrice unit price accordingly
- Blesta\Core\Pricing\Modifier\Type\Proration\Proration uses Blesta\Core\Pricing\MetaItem\Meta
Namespace: Blesta\Core\Pricing\Modifier\Type\Proration
Package: blesta\core\Pricing\Modifier\Type\Proration
Copyright: Copyright (c) 2019, Phillips Data, Inc.
License: The Blesta License Agreement
Link: Blesta
Located at core/Pricing/Modifier/Type/Proration/Proration.php
Package: blesta\core\Pricing\Modifier\Type\Proration
Copyright: Copyright (c) 2019, Phillips Data, Inc.
License: The Blesta License Agreement
Link: Blesta
Located at core/Pricing/Modifier/Type/Proration/Proration.php
public
|
|
public
Blesta\Pricing\Collection\ItemPriceCollection
|
#
prorate( Blesta\Pricing\Collection\ItemPriceCollection $collection )
Prorates all items set to be prorated from MetaItemPrices in the collection |
getMeta(),
getMetaFromCollection()
|