Documentation

ProductExportService
in package

Table of Contents

Properties

$auth  : AuthComponent
$countryRepository  : CountryRepository
$currencyRepository  : CurrencyRepository
$hashids  : Hashids
$productFilterService  : ProductFilterService
$productRepository  : ProductRepository
$productService  : ProductService
$request  : Request
$vatTypeRepository  : VatTypeRepository

Methods

__construct()  : mixed
exportProductListByUserId()  : mixed
getAllCountriesWithVatTypesFromProductList()  : array<string|int, mixed>
getQueryParamArrayFromProductFilter()  : array<string|int, mixed>
productListToExportValues()  : array<string|int, mixed>|null

Properties

Methods

__construct()

public __construct(Request $request, ProductRepository $productRepository, ProductFilterService $productFilterService, Hashids $hashids, AuthComponent $auth, CountryRepository $countryRepository, VatTypeRepository $vatTypeRepository, CurrencyRepository $currencyRepository, ProductService $productService) : mixed
Parameters
$request : Request
$productRepository : ProductRepository
$productFilterService : ProductFilterService
$hashids : Hashids
$auth : AuthComponent
$countryRepository : CountryRepository
$vatTypeRepository : VatTypeRepository
$currencyRepository : CurrencyRepository
$productService : ProductService

exportProductListByUserId()

public exportProductListByUserId(int $userId) : mixed
Parameters
$userId : int

getAllCountriesWithVatTypesFromProductList()

private getAllCountriesWithVatTypesFromProductList(array<string|int, mixed> $productList, array<string|int, mixed> $countryList) : array<string|int, mixed>
Parameters
$productList : array<string|int, mixed>
$countryList : array<string|int, mixed>
Return values
array<string|int, mixed>

getQueryParamArrayFromProductFilter()

private getQueryParamArrayFromProductFilter(ProductFilter $productFilter) : array<string|int, mixed>
Parameters
$productFilter : ProductFilter
Return values
array<string|int, mixed>

productListToExportValues()

private productListToExportValues(array<string|int, mixed> $productList) : array<string|int, mixed>|null
Parameters
$productList : array<string|int, mixed>
Return values
array<string|int, mixed>|null

        
On this page

Search results