ScheduledPayment wrapped object with camel case properties. Each properties maps to a field on the SObject that has _ for each capital letter. Ex. (paymentMethod -> Payment_Method__c)
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| ScheduledPayment | getInstance() |
| ScheduledPayment | getInstance(OrderApi__Scheduled_Payment__c scheduledPayment) |
| List<ScheduledPayment> | getInstance(List |
| List<ScheduledPayment> | getInstance(List |
| void | ScheduledPayment() |
| void | toSObject() |
Method Detail
This class supports the following methods:
global static ScheduledPayment getInstance()
Get base instance with no initial S0bject.
global static ScheduledPayment getInstance(OrderApi__Scheduled_Payment__c scheduledPayment)
Get base instance with an initial SObject.
Parameters
| Name | Type | Description |
|---|---|---|
| scheduledPayment | OrderApi__Scheduled_Payment__c | OrderApi__Scheduled_Payment__c |
global static List<ScheduledPayment> getInstance(List<OrderApi__Scheduled_Payment__c> scheduledPaymentObjs)
Get base instance with list of initial SObjects.
Parameters
| Name | Type | Description |
|---|---|---|
| scheduledPaymentObjs | List<OrderApi__Scheduled_Payment__c> | List |
global static List<ScheduledPayment> getInstance(List<OrderApi__Scheduled_Payment__c> scheduledPaymentObjs,String className)
Get base instance with list of initial SObjects.
Parameters
| Name | Type | Description |
|---|---|---|
| scheduledPaymentObjs | List<OrderApi__Scheduled_Payment__c> | List |
| className | String | String |
global ScheduledPayment()
ScheduledPayment Constructor that should not be called directly.
global virtual override SObject toSObject()
Properties
| Name | Type | Description |
|---|---|---|
| id | Id | |
| name | String | |
| invoice | Id | |
| amount | Decimal | |
| scheduledDate | Date | |
| processedDate | Date | |
| term | Id | |
| subscription | Id | |
| paymentMethod | Id | |
| isProcessed | Boolean | |
| apiResponse | String | |
| customScheduledPayment | Boolean | |
| ePaymentCreated | Boolean | |
| hasErrors | Boolean | |
| isCancelled | Boolean | |
| isPaymentProcessed | Boolean | |
| paymentDescription | String | |
| paymentGateway | Id | |
| salesOrder | Id | |
| succeeded | Boolean | |
| systemMessage | String | |
| token | String | |
| currencyISOCode | String |