oss_vats['active'] = 'N'; } public function data_testOrderTotalPrice(): array { $products = [[10, null, 2], [8], [5, 13], [6, 19, 2]]; return [ ['CZ', 11880, 14208, null, '', $products], ['CZ', 11880, 14208, null, '', $products, 'RS'], ['RS', 11880, 14208, null, '', $products], ['HU', 11880, 14208, null, '', $products], ['CZ', 11880, 14208, null, '123456789', $products], ['RS', 11880, 14208, null, '', $products, 'RS'], ['RS', 11880, 14208, null, '', $products], ['RS', 11880, 14208, null, '123456789', $products], ['HU', 11880, 14208, null, '123456789', $products], ['HR', 11880, 14208, null, '123456789', $products], ['HU', 4959.5, 6000, null, '', [[6, 19, 2]]], ]; } public function data_testflagOss(): array { return [ ['CZ', '', false], ['CZ', '12345678', false], ['RS', '12345678', false], ['HU', '', false], ['HU', '12345678', false], ]; } public function data_testOrderDiscount(): array { return [ ['CZ', 21], ['HR', 21], ['HU', 21], ]; } public function getDataSet() { return $this->getJsonDataSetFromFile('OSSOrderVatsTest.json'); } }