/** * @param StoreEntity $store * @param ShopifyOrderEntity $shopifyOrder */ public function completeOrder(StoreEntity $store, ShopifyOrderEntity $shopifyOrder) { $this->setSettings($store); $this->client->closeOrder(['id' => $shopifyOrder->getId()]); }