@@ -45,13 +45,11 @@ |
||
45 | 45 | /** |
46 | 46 | * Store lead |
47 | 47 | * |
48 | - * @param array $lead_data Lead data array. |
|
48 | + * @param LeadData $lead_data Lead data array. |
|
49 | 49 | * See documentation at http://www.pilotsolution.com.ar/home/api.php (Array keys without 'pilot_' prefix) |
50 | 50 | * Example: |
51 | 51 | * $lead_data = ['firstname' => 'John', 'lastname' = 'Doe', 'phone' => '+543512345678', 'email' => '[email protected]']; |
52 | 52 | * |
53 | - * @param int $business_type_id Código numérico del tipo negocio del dato (1: 0km, 2: Usados, 3: Plan de Ahorro) |
|
54 | - * @param int $contact_type_id Código numérico del tipo de contacto del dato (1: Electrónico, 2: Telefónico , 3: Entrevista) |
|
55 | 53 | * @return string Pilot API response |
56 | 54 | */ |
57 | 55 | public function storeLead(LeadData $lead_data, $notification_email = '') |