AntonyThorpe\SilverShopUnleashed\Task\UnleashedUpdateOrderTask
Update Order with fresh data from Unleashed's Sales Orders
Synopsis
class UnleashedUpdateOrderTask
extends UnleashedBuildTask
{
- // members
- protected string $title = "Unleashed: Update Orders";
- protected string $description = "Update Orders in Silvershop with with data received from Unleashed. Will update the OrderStatus of the Silvershop items.";
- protected string $email_subject = "API Unleashed Software - Update Order Results";
- protected array $order_status_map = ;
- // Inherited members from UnleashedBuildTask
- protected string $email_subject;
- protected boolean $preview;
- // methods
- public void run()
- // Inherited methods from UnleashedBuildTask
- protected void log()
Hierarchy
Members
protected
- $description — string
- $email_subject
- $email_subject — string
- $order_status_map
—
array
Order status map from Unleashed to Silvershop - $preview — boolean
- $title — string
Methods
public
Inherited from AntonyThorpe\SilverShopUnleashed\Task\UnleashedBuildTask
protected
- log() — echo to screen for Build Reports