Logidav Docs

ProductSellsyCommand extends ContainerAwareCommand
in package
uses LockableTrait

Class ProductSellsyCommand

Table of Contents

Properties

$notInSellsy  : array<string|int, mixed>
$sellsyProducts  : array<string|int, mixed>
$sentProducts  : int
$toBeUpdated  : array<string|int, mixed>

Methods

syncProductWithSellsy()  : mixed
Sending product to sellsy
configure()  : mixed
execute()  : int|null
compareSellsyAndLogidavProducts()  : mixed
Comparing Products and find products not in sellsy and products in sellsy but not with the same prices
exportPrices()  : mixed
getSellsyProducts()  : mixed
Get products from sellsy
updatePrices()  : mixed

Properties

Methods

syncProductWithSellsy()

Sending product to sellsy

public syncProductWithSellsy(mixed $output, mixed $products) : mixed
Parameters
$output : mixed
$products : mixed
Tags
throws
Exception

execute()

protected execute(InputInterface $input, OutputInterface $output) : int|null
Parameters
$input : InputInterface
$output : OutputInterface
Tags
throws
Exception
Return values
int|null

compareSellsyAndLogidavProducts()

Comparing Products and find products not in sellsy and products in sellsy but not with the same prices

private compareSellsyAndLogidavProducts() : mixed

getSellsyProducts()

Get products from sellsy

private getSellsyProducts([int $page = 1 ]) : mixed
Parameters
$page : int = 1

        
On this page

Search results