public function getData()
{
$this->validate('app_id', 'mch_id', 'auth_code');
$data = array('appid' => $this->getAppId(), 'mch_id' => $this->getMchId(), 'auth_code' => $this->getAuthCode(), 'nonce_str' => md5(uniqid()));
$data = array_filter($data);
$data['sign'] = Helper::sign($data, $this->getApiKey());
return $data;
}