/** * @param StoreEntity $store * @param ShopifyOrderEntity $shopifyOrder * @return ShopifyOrderMetaFieldsEntity */ public function getOrderMetaData(StoreEntity $store, ShopifyOrderEntity $shopifyOrder) { $this->setSettings($store); $response = $this->client->getOrderMetaFields(['id' => $shopifyOrder->getId()]); return ShopifyOrderMetaFieldsEntity::createFromResponse($response); }