OrderItemBuilder
Namespace
IO\Builder\Order
Type | Name | Description |
---|---|---|
|
||
|
||
|
||
|
||
|
||
|
Methods
public __construct($checkoutService, $vatService, $itemNameFilter, $webstoreRepository, $vatRepository, $customerService)
OrderItemBuilder constructor.
Type |
Name |
Description |
|
||
|
||
|
||
|
||
|
||
|
public fromBasket($basket, $items):array
Add a basket item to the order
Type |
Name |
Description |
|
||
|
public getVatField($vat, $vatRate):int
Get the vat field for the given vat rate.
Type |
Name |
Description |
|
The country VAT instance. |
|
|
The vat rate. |
Thank you for your feedback!