PriceController
extends Controller
in package
Price controller.
Tags
Table of Contents
Properties
Methods
- __construct() : mixed
- Price controller constructor.
- forceAvailabilityStoreAction() : mixed
- Update in STORE ID == 20
- getProductInfosFromMerchant() : JsonResponse
- Get Product infos from Merchant center
- indexAction() : mixed
- Lists all product entities.
- listDropshsipPricesAction() : mixed
- Lists all drop ship products prices
- paginateProductPriceAction() : JsonResponse
- productCalculatedCoeffAction() : JsonResponse
- productCalculatedShippingPriceAction() : JsonResponse
- productCreateShippingCartAction() : JsonResponse
- productPriceLogAction() : JsonResponse
- productUpdateApiAction() : JsonResponse
- Update Product transport price
- simulateNewPriceFromBaseOfCalculationAction() : Response
- updateBuyingPriceAction() : Response
- updateProductLotFdpsAction() : JsonResponse
- Bulk update products fdps by command
- updateProductLotPricesAction() : JsonResponse
- Bulk update products price by command
- updateProductPricesAction() : Response
- updateSpecialPricesAction() : Response
Properties
$priceService
private
PriceService
$priceService
Methods
__construct()
Price controller constructor.
public
__construct(PriceService $priceService) : mixed
Parameters
- $priceService : PriceService
forceAvailabilityStoreAction()
Update in STORE ID == 20
public
forceAvailabilityStoreAction(Request $request[, mixed $storeId = ProductInfoService::STORE_ID_FRANCE ]) : mixed
Parameters
- $request : Request
- $storeId : mixed = ProductInfoService::STORE_ID_FRANCE
Tags
getProductInfosFromMerchant()
Get Product infos from Merchant center
public
getProductInfosFromMerchant(Product $product, mixed $storeId) : JsonResponse
Parameters
- $product : Product
- $storeId : mixed
Tags
Return values
JsonResponseindexAction()
Lists all product entities.
public
indexAction([mixed $storeId = ProductInfoService::STORE_ID_FRANCE ], Request $request) : mixed
Parameters
- $storeId : mixed = ProductInfoService::STORE_ID_FRANCE
- $request : Request
Tags
listDropshsipPricesAction()
Lists all drop ship products prices
public
listDropshsipPricesAction() : mixed
Tags
paginateProductPriceAction()
public
paginateProductPriceAction(Request $request[, mixed $storeId = ProductInfoService::STORE_ID_FRANCE ]) : JsonResponse
Parameters
- $request : Request
- $storeId : mixed = ProductInfoService::STORE_ID_FRANCE
Tags
Return values
JsonResponseproductCalculatedCoeffAction()
public
productCalculatedCoeffAction(Request $request) : JsonResponse
Parameters
- $request : Request
Tags
Return values
JsonResponseproductCalculatedShippingPriceAction()
public
productCalculatedShippingPriceAction(Request $request) : JsonResponse
Parameters
- $request : Request
Tags
Return values
JsonResponseproductCreateShippingCartAction()
public
productCreateShippingCartAction(Request $request[, mixed $storeId = ProductInfoService::STORE_ID_FRANCE ]) : JsonResponse
Parameters
- $request : Request
- $storeId : mixed = ProductInfoService::STORE_ID_FRANCE
Tags
Return values
JsonResponseproductPriceLogAction()
public
productPriceLogAction(Request $request[, mixed $storeId = ProductInfoService::STORE_ID_FRANCE ]) : JsonResponse
Parameters
- $request : Request
- $storeId : mixed = ProductInfoService::STORE_ID_FRANCE
Tags
Return values
JsonResponseproductUpdateApiAction()
Update Product transport price
public
productUpdateApiAction(Request $request) : JsonResponse
Parameters
- $request : Request
Tags
Return values
JsonResponsesimulateNewPriceFromBaseOfCalculationAction()
public
simulateNewPriceFromBaseOfCalculationAction(Request $request) : Response
Parameters
- $request : Request
Tags
Return values
ResponseupdateBuyingPriceAction()
public
updateBuyingPriceAction(Request $request) : Response
Parameters
- $request : Request
Tags
Return values
ResponseupdateProductLotFdpsAction()
Bulk update products fdps by command
public
updateProductLotFdpsAction(Request $request[, int $storeId = ProductInfoService::STORE_ID_FRANCE ]) : JsonResponse
Parameters
- $request : Request
- $storeId : int = ProductInfoService::STORE_ID_FRANCE
Tags
Return values
JsonResponseupdateProductLotPricesAction()
Bulk update products price by command
public
updateProductLotPricesAction(Request $request[, mixed $storeId = ProductInfoService::STORE_ID_FRANCE ]) : JsonResponse
Parameters
- $request : Request
- $storeId : mixed = ProductInfoService::STORE_ID_FRANCE
Tags
Return values
JsonResponseupdateProductPricesAction()
public
updateProductPricesAction(Request $request[, null $storeId = ProductInfoService::STORE_ID_FRANCE ], ProductPriceSheetChangesLogService $logService) : Response
Parameters
- $request : Request
- $storeId : null = ProductInfoService::STORE_ID_FRANCE
- $logService : ProductPriceSheetChangesLogService
Tags
Return values
ResponseupdateSpecialPricesAction()
public
updateSpecialPricesAction(Request $request[, null $storeId = ProductInfoService::STORE_ID_FRANCE ]) : Response
Parameters
- $request : Request
- $storeId : null = ProductInfoService::STORE_ID_FRANCE