'Lead_Owner', 'callback' => 'text', 'required' => false, 'length' => 0, 'default' => null ], // Select the Zoho CRM user to whom the Lead is assigned. [ 'name' => 'Salutation', 'callback' => 'text', 'required' => false, 'length' => 0, 'default' => null ], // Select the salutation from the drop-down list. [ 'name' => 'First_Name', 'callback' => 'text', 'required' => false, 'length' => 40, 'default' => null ], [ 'name' => 'Title', 'callback' => 'text', 'required' => false, 'length' => 100, 'default' => null ], // Specify the job position of the lead [ 'name' => 'Last_Name', 'callback' => 'text', 'required' => true, 'length' => 80, 'default' => null ], [ 'name' => 'Company', 'callback' => 'text', 'required' => true, 'length' => 100, 'default' => null ], [ 'name' => 'Lead_Source', 'callback' => 'text', 'required' => false, 'length' => 0, 'default' => 'Web Download' ], // Select the source of the lead, that is, from where the lead is generated. [ 'name' => 'Industry', 'callback' => 'text', 'required' => false, 'length' => 0, 'default' => null ], // Select the industry to which the lead belongs. [ 'name' => 'Annual_Revenue', 'callback' => 'decimal', 'required' => false, 'length' => 16, 'default' => null ], // Specify the annual revenue of the company where the lead is working. [ 'name' => 'Phone', 'callback' => 'text', 'required' => false, 'length' => 30, 'default' => null ], [ 'name' => 'Mobile', 'callback' => 'text', 'required' => false, 'length' => 30, 'default' => null ], [ 'name' => 'Fax', 'callback' => 'text', 'required' => false, 'length' => 30, 'default' => null ], [ 'name' => 'Email', 'callback' => 'email', 'required' => false, 'length' => 100, 'default' => null ], [ 'name' => 'Secondary_Email', 'callback' => 'email', 'required' => false, 'length' => 100, 'default' => null ], [ 'name' => 'Skype_ID', 'callback' => 'text', 'required' => false, 'length' => [6, 32], 'default' => null ], [ 'name' => 'Website', 'callback' => 'url', 'required' => false, 'length' => 120, 'default' => null ], [ 'name' => 'Lead_Status', 'callback' => 'text', 'required' => false, 'length' => 0, 'default' => 'Not Contacted' ], // Select the status of the lead from the drop-down list. [ 'name' => 'Rating', 'callback' => 'text', 'required' => false, 'length' => 0, 'default' => null ], // Select the rating of the lead from the drop-down list. [ 'name' => 'No._of_Employees', 'callback' => 'int', 'required' => false, 'length' => 16, 'default' => null ], // Specify the number of employees in lead's company. [ 'name' => 'Email_Opt-out', 'callback' => 'checkbox', 'required' => false, 'length' => 0, 'default' => 'false' ], // Select the check-box to remove leads from your mailing list so that they will not receive any emails from your Zoho CRM account [ 'name' => 'Street', 'callback' => 'text', 'required' => false, 'length' => 250, 'default' => null ], [ 'name' => 'City', 'callback' => 'text', 'required' => false, 'length' => 30, 'default' => null ], [ 'name' => 'State', 'callback' => 'text', 'required' => false, 'length' => 30, 'default' => null ], [ 'name' => 'Zip_Code', 'callback' => 'text', 'required' => false, 'length' => 30, 'default' => null ], [ 'name' => 'Country', 'callback' => 'text', 'required' => false, 'length' => 30, 'default' => null ], [ 'name' => 'Description', 'callback' => 'text', 'required' => false, 'length' => 32000, 'default' => null ], ]; protected static $fields_map = [ 'Lead_Owner' => '', 'Salutation' => 'prefix', 'First_Name' => 'first_name', 'Title' => '', 'Last_Name' => 'last_name', 'Company' => 'company_name', 'Lead_Source' => '', 'Industry' => '', 'Annual_Revenue' => '', 'Phone' => 'phone', 'Mobile' => '', 'Fax' => '', 'Email' => 'email', 'Secondary_Email' => '', 'Skype_ID' => '', 'Website' => '', 'Lead_Status' => '', 'Rating' => '', 'No._of_Employees' => '', 'Email_Opt-out' => 'email_subscription', 'Street' => 'street', 'City' => 'city', 'State' => '', 'Zip_Code' => 'zip', 'Country' => '', 'Description' => '', ]; }