'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' => '', ]; }