Term wrapped object with camel case properties. Each properties maps to a field on the SObject that has _ for each capital letter. Ex. (isActive -> Is_Active__c)

Method Summary

Modifier and Type Method and Description
Term getInstance()
List<Term> getInstance(List terms)
Term getInstance(OrderApi__Renewal__c term)
void Term()
void toSObject()

Method Detail

This class supports the following methods:

global static Term getInstance()

Get base instance with no initial S0bject.


global static List<Term> getInstance(List<OrderApi__Renewal__c> terms)

Get base instance with list of initial SObjects.
Parameters

Name Type Description
terms List<OrderApi__Renewal__c> List

global static Term getInstance(OrderApi__Renewal__c term)

Get base instance with an initial SObject.
Parameters

Name Type Description
term OrderApi__Renewal__c OrderApi__Renewal__c

global Term()

Term Constructor that should not be called directly.


global virtual override SObject toSObject()

Properties

Name Type Description
id Id
name String
isActive Boolean
termStartDate Date
termEndDate Date
subscription Id
subscriptionPlan Id
contact Id
account Id
item Id
assignmentsAllowed Decimal
activeAssignments Decimal
nextScheduledPaymentDate Date
cancellationRequested Boolean
subscriptionLines List
assignments List