BadgeType wrapped object with camel case properties. Each properties maps to a field on the SObject that has _ for each capital letter. Ex. (iconLocation -> Icon_Location__c)
Maps To: OrderApi__Badge_Type__c

Configure Badge Types to assign to Contacts to allow greater control and flexibility around pricing and content accessibility.

Method Summary

Modifier and Type Method and Description
BadgeType getInstance()
BadgeType getInstance(OrderApi__Badge_Type__c badgeType)
List<BadgeType> getInstance(List badgeTypeObjs)
List<BadgeType> getInstance(List badgeTypeObjs,String className)
void BadgeType()

Method Detail

This class supports the following methods:

global static BadgeType getInstance()

Get base instance with no initial S0bject.


global static BadgeType getInstance(OrderApi__Badge_Type__c badgeType)

Get base instance with an initial SObject.
Parameters

Name Type Description
badgeType OrderApi__Badge_Type__c OrderApi__Badge_Type__c

global static List<BadgeType> getInstance(List<OrderApi__Badge_Type__c> badgeTypeObjs)

Get base instance with list of initial SObjects.
Parameters

Name Type Description
badgeTypeObjs List<OrderApi__Badge_Type__c> List

global static List<BadgeType> getInstance(List<OrderApi__Badge_Type__c> badgeTypeObjs,String className)

Get base instance with list of initial SObjects.
Parameters

Name Type Description
badgeTypeObjs List<OrderApi__Badge_Type__c> List
className String undefined

global BadgeType()

BadgeType Constructor that should not be called directly.


Properties

Name Type Description
id Id
iconLocation String System Calculated Override Override the default Badge Type icon with a custom image to distinguish the Badge Type from other Badge Types.
imageLocation String Distinguish the Badge Type from other Badge Types by providing the URL to a securely hosted image to use as the Badge Type Image.
name String
publicDescription String The contents of this field will publish to the community portal.
isActive Boolean When checked the Badge Type is active and available for assignment to a Contact
isPublished Boolean When checked, Contacts assigned Badge related to the Badge Type will have the option to display the Badge on their Community Profile (valid only if Fonteva Communities is enabled for your environment - contact your administrator if you have any questions)