Class ServiceFactory
Instantiates service item objects
Methods summary
public
Blesta\Core\Pricing\Presenter\Items\Invoice\InvoiceItemsInterface
|
#
invoice( Blesta\Core\Pricing\PricingFactory $pricingFactory, Blesta\Items\ItemFactory $itemFactory, Blesta\Items\Item\ItemInterface $settings, Blesta\Items\Collection\ItemCollection $taxes = null, Blesta\Items\Item\ItemInterface $options = null )
Creates an instance of InvoiceItems
Creates an instance of InvoiceItems
Parameters
- $pricingFactory
- An instance of the PricingFactory
- $itemFactory
- An instance of the ItemFactory
- $settings
- An item containing a set of settings
- $taxes
- A collection of items representing taxes
- $options
- An item containing a set of custom options
Returns
|
public
Blesta\Core\Pricing\Presenter\Items\Invoice\InvoiceItemsInterface
|
#
invoiceData( Blesta\Core\Pricing\PricingFactory $pricingFactory, Blesta\Items\ItemFactory $itemFactory, Blesta\Items\Item\ItemInterface $settings, Blesta\Items\Collection\ItemCollection $taxes = null, Blesta\Items\Item\ItemInterface $options = null )
Creates an instance of InvoiceDataItems
Creates an instance of InvoiceDataItems
Parameters
- $pricingFactory
- An instance of the PricingFactory
- $itemFactory
- An instance of the ItemFactory
- $settings
- An item containing a set of settings
- $taxes
- A collection of items representing taxes
- $options
- An item containing a set of custom options
Returns
|
public
Blesta\Core\Pricing\Presenter\Items\Service\ServiceItemsInterface
|
#
service( Blesta\Core\Pricing\PricingFactory $pricingFactory, Blesta\Items\ItemFactory $itemFactory, Blesta\Items\Item\ItemInterface $settings, Blesta\Items\Collection\ItemCollection $taxes = null, Blesta\Items\Collection\ItemCollection $discounts = null, Blesta\Items\Item\ItemInterface $options = null )
Creates an instance of ServiceItems
Creates an instance of ServiceItems
Parameters
- $pricingFactory
- An instance of the PricingFactory
- $itemFactory
- An instance of the ItemFactory
- $settings
- An item containing a set of settings
- $taxes
- A collection of items representing taxes
- $discounts
- A collection of items representing discounts
- $options
- An item containing a set of custom options
Returns
|
public
Blesta\Core\Pricing\Presenter\Items\Service\ServiceItemsInterface
|
#
serviceData( Blesta\Core\Pricing\PricingFactory $pricingFactory, Blesta\Items\ItemFactory $itemFactory, Blesta\Items\Item\ItemInterface $settings, Blesta\Items\Collection\ItemCollection $taxes = null, Blesta\Items\Collection\ItemCollection $discounts = null, Blesta\Items\Item\ItemInterface $options = null )
Creates an instance of ServiceDataItems
Creates an instance of ServiceDataItems
Parameters
- $pricingFactory
- An instance of the PricingFactory
- $itemFactory
- An instance of the ItemFactory
- $settings
- An item containing a set of settings
- $taxes
- A collection of items representing taxes
- $discounts
- A collection of items representing discounts
- $options
- An item containing a set of custom options
Returns
|