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

Method Summary

Modifier and Type Method and Description
Invoice getInstance()
Invoice getInstance(OrderApi__Invoice__c invoice)
List<Invoice> getInstance(List invoiceObjs)
List<Invoice> getInstance(List invoiceObjs,String className)
void Invoice()

Method Detail

This class supports the following methods:

global static Invoice getInstance()

Get base instance with no initial S0bject.


global static Invoice getInstance(OrderApi__Invoice__c invoice)

Get base instance with an initial SObject.
Parameters

Name Type Description
invoice OrderApi__Invoice__c OrderApi__Invoice__c

global static List<Invoice> getInstance(List<OrderApi__Invoice__c> invoiceObjs)

Get base instance with list of initial SObjects.
Parameters

Name Type Description
invoiceObjs List<OrderApi__Invoice__c> List

global static List<Invoice> getInstance(List<OrderApi__Invoice__c> invoiceObjs,String className)

Get base instance with list of initial SObjects.
Parameters

Name Type Description
invoiceObjs List<OrderApi__Invoice__c> List
className String String

global Invoice()

Invoice Constructor that should not be called directly.


Properties

Name Type Description
id Id
name String
dueDate Date
balanceDue Decimal
amountPaid Decimal
total Decimal
adjustments Decimal
creditsApplied Decimal
creditsAndAdjustments Decimal
subtotal Decimal
postedDate Date
paidDate Date
invoiceDate Date
term Id
subscription Id
salesOrder Id
scheduledPayment Id
status String
currencyISOCode String
businessGroup Id
arAccount Id
receipts List