-
-
Save arun12209/bd23a427b38d2f5cc26a634b40c67d1f to your computer and use it in GitHub Desktop.
ContactTriggerHelper.cls
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public without sharing class ContactTriggerHelper { | |
//Constructor | |
public ContactTriggerHelper() { | |
system.debug('Inside AccounttriggerHelper Constructor'); | |
} | |
/** | |
* @description updateContactsCountOnAccount method counts number of contacts on account records. | |
* @param conList | |
*/ | |
public void updateContactsCountOnAccount(List<Contact> conList){ | |
//write logic to update the account owner | |
} | |
/** | |
* @description updateAddresses method updates contact address | |
* copy billing address to contact mailling address | |
* @param conList | |
*/ | |
public void updateContactAddresses(List<Contact> conList) { | |
//write update contacts logic below | |
} | |
//Write other methods here as per your requirements | |
/******************** ADD MORE METHODS*************************/ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment