Newer Version Available
RefundLinePayment
Supported Calls
create(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), update(), upsert()
Special Access Rules
To access Commerce Payments entities, your org must have a Salesforce Order Management license with the Payment Platform org permission activated.
Fields
| Field | Details |
|---|---|
| Amount |
|
| AppliedDate |
|
| AssociatedAccountId |
|
| AssociatedRefundLinePaymentId |
|
| Comments |
|
| Date |
|
| EffectiveDate |
|
| EffectiveImpactAmount |
|
| HasBeenUnapplied |
|
| ImpactAmount |
|
| PaymentBalance |
|
| PaymentId |
|
| RefundBalance |
|
| RefundId |
|
| RefundLinePaymentNumber |
|
| Type |
|
| UnappliedDate |
|
Usage
When you’re ready to apply a refund’s balance to a payment, create a refund line (RefundLinePayment). The refund line represents the balance taken from the payment and applied toward the invoice. You can apply a refund’s balance when you create the refund record or afterward. The refund line must have the same currency as the parent refund.
A refund has an amount, which represents the total amount taken from the refund, and a balance, which represents the remaining amount after the refund line has been applied to a payment. A refund’s amount can’t be less than the sum of all of its refund line amounts. You can apply any portion of a refund’s balance to a payment.
You can apply a refund to transactions on the same account or to different transacations
across different accounts.