/** * Return REST description of currency and tax type (individual) * @return array */ private function generateTaxRest() { $currencyCode = $this->cmlSalesOrder->getCurrency(); $currencyReference = $this->getCurrencyReference($currencyCode); $restData = array(); $restData['currency_id'] = $currencyReference; $restData['hdnTaxType'] = 'individual'; return $restData; }