UpdateSaleCommand
extends ContainerAwareCommand
in package
uses
LockableTrait
FinalYes
Class UpdateSaleStatusCommand This class loop on logidav sales that are processing, canceled, pending, pending_payment, holded, payment_refused in an interval of one month and check if those sales have been updated in Magento 2 and if so we update the sale and if the new sale status is processing we decrement the stock and if the sale is RETRAIT we send retrait email if the client is not already received an email
Tags
Table of Contents
Methods
- configure() : mixed
- Configure command
- execute() : int|null
Methods
configure()
Configure command
protected
configure() : mixed
execute()
protected
execute(InputInterface $input, OutputInterface $output) : int|null
Parameters
- $input : InputInterface
- $output : OutputInterface