Created
March 22, 2020 06:49
-
-
Save saicharanreddyk/28d05b5de662bf45b569cc81f111fe93 to your computer and use it in GitHub Desktop.
AccountService
This file contains hidden or 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 with sharing class AccountService { | |
public Account createAccount( String accountName, String accountNumber, String tickerSymbol ) { | |
Account newAcct = new Account( | |
Name = accountName, | |
AccountNumber = accountNumber, | |
TickerSymbol = accountNumber | |
); | |
return newAcct; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment