AssignmentRole wrapped object with camel case properties. Each properties maps to a field on the SObject that has _ for each capital letter. Ex. (isDefault -> Is_Default__c)
Maps To: OrderApi__Assignment_Role__c

Configure custom roles for Contacts to be assigned to against "Assignable" Items.

Method Summary

Modifier and Type Method and Description
AssignmentRole getInstance()
AssignmentRole getInstance(OrderApi__Assignment_Role__c asgnRole)
List<AssignmentRole> getInstance(List assignmentRoleObjs)
List<AssignmentRole> getInstance(List assignmentRoleObjs,String className)
void AssignmentRole()

Method Detail

This class supports the following methods:

global static AssignmentRole getInstance()

Get base instance with no initial S0bject.


global static AssignmentRole getInstance(OrderApi__Assignment_Role__c asgnRole)

Get base instance with an initial SObject.
Parameters

Name Type Description
asgnRole OrderApi__Assignment_Role__c OrderApi__Assignment_Role__c

global static List<AssignmentRole> getInstance(List<OrderApi__Assignment_Role__c> assignmentRoleObjs)

Get base instance with list of initial SObjects.
Parameters

Name Type Description
assignmentRoleObjs List<OrderApi__Assignment_Role__c> List

global static List<AssignmentRole> getInstance(List<OrderApi__Assignment_Role__c> assignmentRoleObjs,String className)

Get base instance with list of initial SObjects.
Parameters

Name Type Description
assignmentRoleObjs List<OrderApi__Assignment_Role__c> List
className String String

global AssignmentRole()

AssignmentRole Constructor that should not be called directly.


Properties

Name Type Description
id Id
name String
isDefault Boolean When checked, the Roles is considered as"Default Assignment Role".
isPrimary Boolean When checked, any Contact "Assignment" linked to the Assignment Role will be considered a "Primary Contact" for the "Assigned To Record". Defaults unchecked.