public function execute() { $this->checkDefaultApp($this->aid); $result = Api_Bo_Payments::createPlan($this->aid, $this->plan_name, $this->price, $this->num_friends, null, $this->description); $response = array(); $response['result'] = $result !== false ? '1' : '0'; return $response; }