PaymentSchedule
The payment schedule represents a collection of payments that a customer wants to collect at different times for a certain record. A schedule contains one or more payment schedule items, where each item represents one payment to be processed. Each of a schedule’s items can have different payment configuration fields, such as payment methods, payment dates, and payment accounts. When a payment scheduler launches a payment run, the run evaluates active payment schedule items, and picks them up for payment processing if they align with the scheduler’s payment criteria.
Introduced in API version 55.0.
create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), undelete(), update(), upsert()
- This object is available with Subscription Management and Billing (Revenue Cloud).
- For information about this object that’s available with Billing (Revenue Cloud), including its special access rules, see the Revenue Cloud Developer Guide.
- Type: currency
- Properties: Filter, Nillable, Sort
- Description: The payment schedule’s remaining amount available for the creation of payment schedule items. Equals
TotalRequestedAmount–TotalLineRequestedAmount.
-
Type: reference
-
Properties: Create, Filter, Group, Nillable, Sort, Update
-
Introduced: API version 64.0
-
Relationship name: CollectionPlanItem
-
Relationship type: relationship
-
Refers to: CollectionPlanItem
- Type: textarea
- Properties: Create, Filter, Nillable, Sort, Update
- Description: Optional user-defined comments.
-
Type: reference
-
Properties: Create, Filter, Group, Nillable, Sort, Update
-
Description:
When a payment run creates payments from a payment schedule item, it sets the payment’s account to the item’s
PaymentAccountId. Upon payment schedule item creation, the item’sPaymentAccountIdinherits the schedule’sDefaultPaymentAccountId. However, you can override thePaymentAccountIdwith a different account as needed. If you do, future payments made from the item use the new account.This is a relationship field.
-
Relationship name: DefaultPaymentAccount
-
Relationship type: relationship
-
Refers to: Account
- Type: reference
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: When a payment run creates payments from a payment schedule ID, it sets the payment’s account to the item’s
PaymentMethodId. Upon payment schedule item creation, the item’sPaymentMethoIdinherits the schedule’sDefaultPaymentMethodId. However, you can override thePaymentMethodIdwith a different account as needed. If you do, future payments made from the item will use the new account. - Relationship name: DefaultPaymentMethod
- Relationship type: polymorphic
- Refers to: CardPaymentMethod, SavedPaymentMethod
- Type: string
- Properties: Autonumber, Defaulted on create, Filter, idLookup, Sort
- Description: System-generated reference number for the payment schedule.
-
Type: reference
-
Properties: Create, Filter, Group, Nillable, Sort, Update
-
Introduced: API version 65.0
-
Description:
The payment schedule treatment detail associated with the payment schedule record.
This field is a relationship field. with Financial Services and Automotive Cloud.
-
Relationship name: PaymentScheduleTreatmentDtl
-
Relationship type: relationship
-
Refers to: PaymentScheduleTreatmentDtl
- Type: picklist
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Introduced: API version 62.0
- Description: Specifies the name of the funding source that is used to fulfill a payment commitment. with Financial Services and Automotive Cloud.
-
Type: reference
-
Properties: Create, Filter, Group, Nillable, Sort, Update
-
Description:
The object that receives payments as a result of payment schedule items processed from the payment schedule.
This is a polymorphic relationship field.
-
Relationship name: ReferenceEntity
-
Relationship type: polymorphic
- Type: currency
- Properties: Filter, Nillable, Sort
- Description: The total pending amount of payment schedule items that haven’t yet been processed for payment. Equals
TotalLineRequestedAmount–TotalProcessedAmount.
- Type: picklist
- Properties: Create, Filter, Group, Restricted picklist, Sort, Update
- Description: The status of the payment schedule.
- Possible values:
- Accepted — Accepted
- Approval Pending — Approval Pending
- Canceled — Canceled
- Completed — Completed
- Draft — Draft
- On Hold — On Hold
- Open — Open
- Rejected — Rejected
-
Type: currency
-
Properties: Filter, Nillable, Sort
-
Description:
The amount of all payment schedule items that have been applied to payments.
This is a calculated field.
- Type: currency
- Properties: Filter, Nillable, Sort
- Description: The sum of all
RequestedAmountvalues on payment schedule items with a status of Canceled.
- Type: currency
- Properties: Filter, Nillable, Sort
- Description: The total amount allocated from the payment schedule to its payment schedule items. Equals the sum of each payment schedule item’s
RequestedAmount– the sum of each payment schedule item’sCanceled Amount.
-
Type: currency
-
Properties: Filter, Nillable, Sort
-
Introduced: API version 63.0
-
Description:
The cumulative sum of payments received for all payment schedule items linked to a payment schedule.
This field is a calculated field. with Financial Services and Automotive Cloud.
- Type: currency
- Properties: Filter, Nillable, Sort
- Description: The sum of
ProcessedAmountvalues on payment schedule items with a status of Processed.
- Type: currency
- Properties: Create, Filter, Sort, Update
- Description: The total amount available for a payment schedule to distribute to its payment schedule items. The sum of payment schedule items can’t be greater than the
TotalLineRequestedAmountof the parent payment schedule.
- Type: picklist
- Properties: Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
- Introduced: API version 65.0
- Description: The type of payment for which the payment schedule is created. with Financial Services and Automotive Cloud.
- Possible values:
- PaymentPlan — PaymentPlan — Payment Plan
- PromiseToPay — PromiseToPay — Promise to Pay
-
Type: picklist
-
Properties: Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
-
Introduced: API version 62.0
-
Description:
Specifies the usage type for the record.
Possible value is:
Available in API version 62.0 and later with Financial Services and Automotive Cloud.
-
Possible values:
- CollectionPlan — CollectionPlan