AfterbuyOrderTrackingWriter
in package
Class AfterbuyOrderTrackingWriter
Table of Contents
- CONFIGURATION_NAMESPACE = 'modules/gambio/afterbuy'
- $connection : Connection
- $storage : ConfigurationStorageRepository
- __construct() : mixed
- AfterbuyOrderTrackingWriter constructor.
- updateOrderStatusWithTrackingConfiguration() : void
- Updates the order status to the afterbuy configuration 'order_status_tracking_sync'.
Constants
CONFIGURATION_NAMESPACE
private
mixed
CONFIGURATION_NAMESPACE
= 'modules/gambio/afterbuy'
Properties
$connection
private
Connection
$connection
$storage
private
ConfigurationStorageRepository
$storage
Methods
__construct()
AfterbuyOrderTrackingWriter constructor.
public
__construct(Connection $connection, ConfigurationStorageRepositoryBuilder $builder) : mixed
Parameters
- $connection : Connection
- $builder : ConfigurationStorageRepositoryBuilder
Return values
mixed —updateOrderStatusWithTrackingConfiguration()
Updates the order status to the afterbuy configuration 'order_status_tracking_sync'.
public
updateOrderStatusWithTrackingConfiguration(int $orderId) : void
Additionally, updates the 'orders_status_history' table. By using the raw database connection, only the database records are updated, but nothing else, like events, are triggered.
Parameters
- $orderId : int