ReceiptLine wrapped object with camel case properties. Each properties maps to a field on the SObject that has _ for each capital letter. Ex. (invoiceLine -> Invoice_Line__c)
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| ReceiptLine | getInstance() |
| ReceiptLine | getInstance(OrderApi__Receipt_Line__c receiptLine) |
| List<ReceiptLine> | getInstance(List |
| List<ReceiptLine> | getInstance(List |
| void | ReceiptLine() |
Method Detail
This class supports the following methods:
global static ReceiptLine getInstance()
Get base instance with no initial S0bject.
global static ReceiptLine getInstance(OrderApi__Receipt_Line__c receiptLine)
Get base instance with an initial SObject.
Parameters
| Name | Type | Description |
|---|---|---|
| receiptLine | OrderApi__Receipt_Line__c | OrderApi__Receipt_Line__c |
global static List<ReceiptLine> getInstance(List<OrderApi__Receipt_Line__c> receiptLineObjs)
Get base instance with list of initial SObjects.
Parameters
| Name | Type | Description |
|---|---|---|
| receiptLineObjs | List<OrderApi__Receipt_Line__c> | List |
global static List<ReceiptLine> getInstance(List<OrderApi__Receipt_Line__c> receiptLineObjs,String className)
Get base instance with list of initial SObjects.
Parameters
| Name | Type | Description |
|---|---|---|
| receiptLineObjs | List<OrderApi__Receipt_Line__c> | List |
| className | String | String |
global ReceiptLine()
ReceiptLine Constructor that should not be called directly.
Properties
| Name | Type | Description |
|---|---|---|
| id | Id | |
| name | String | |
| receipt | Id | |
| invoice | Id | |
| item | Id | |
| invoiceLine | Id | |
| total | Decimal | |
| quantity | Decimal | |
| salePrice | Decimal |