Logidav Docs

ShippingRateSyncCommand extends ContainerAwareCommand
in package
uses LockableTrait

Table of Contents

Properties

$em  : EntityManagerInterface|null
$logShippingRates  : array<string|int, string>
$shippingRateService  : ShippingRateService|null

Methods

__construct()  : mixed
SaleExpeditionCheckCommand constructor.
configure()  : mixed
execute()  : mixed
updateRate()  : void
Update shipping price

Properties

Methods

__construct()

SaleExpeditionCheckCommand constructor.

public __construct([null $name = null ][, EntityManagerInterface|null $entityManager = null ][, ShippingRateService|null $shippingRateService = null ]) : mixed
Parameters
$name : null = null
$entityManager : EntityManagerInterface|null = null
$shippingRateService : ShippingRateService|null = null

execute()

protected execute(InputInterface $input, OutputInterface $output) : mixed
Parameters
$input : InputInterface
$output : OutputInterface

updateRate()

Update shipping price

private updateRate(mixed $countryId, mixed $weight, mixed $price, mixed $carrier) : void
Parameters
$countryId : mixed
$weight : mixed
$price : mixed
$carrier : mixed

        
On this page

Search results