Amazon wins transfer-pricing case