Newer Version Available

This content describes an older version of this product. View Latest

OrderPaymentSummary

Represents the current properties and state of payments using a single payment method that are applied to one OrderSummary. This object is available in API version 48.0 and later.

Unlike most summary objects, an OrderPaymentSummary is not related to a similarly named order payment object. Instead, it combines values from multiple payment objects that use the same payment method and apply to the same OrderSummary.

Supported Calls

create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), search(), undelete(), update(), upsert()

Special Access Rules

This object is only available in Salesforce Order Management orgs.

Fields

Field Details
AuthorizationAmount
Type
currency
Properties
Filter, Nillable, Sort
Description
Amount of the OrderPaymentSummary that has been authorized.
AuthorizationReversal​Amount
Type
currency
Properties
Filter, Nillable, Sort
Description
Amount of the AuthorizationAmount that has been reversed.
AvailableToCaptureAmount
Type
currency
Properties
Filter, Nillable, Sort
Description
Amount of the OrderPaymentSummary that is available to be captured. Equal to AuthorizationAmount minus (CapturedAmount and PendingCaptureAmount and PendingReverseAuthAmount).
AvailableToRefundAmount
Type
currency
Properties
Filter, Nillable, Sort
Description
Amount of the OrderPaymentSummary that is available to be refunded. Equal to CapturedAmount minus (RefundedAmount and PendingCaptureAmount and PendingRefundAmount).
BalanceAmount
Type
currency
Properties
Filter, Nillable, Sort
Description
Total balance of all payments associated with this summary object.
CapturedAmount
Type
currency
Properties
Filter, Nillable, Sort
Description
Amount of the OrderPaymentSummary that has been captured.
FullName
Type
string
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The full name of the payment method user.
LastPaymentGateway​LogId
Type
reference
Properties
Filter, Group, Nillable, Sort
Description
ID of the most recent payment gateway log associated with the OrderPaymentSummary.
LastPaymentGateway​Message
Type
string
Properties
Create, Filter, Nillable, Sort, Update
Description
The most recent message received from the payment gateway associated with the OrderPaymentSummary.
Method
Type
string
Properties
Create, Filter, Group, idLookup, Sort, Update
Description
Name of the OrderPaymentSummary.
OrderSummaryId
Type
reference
Properties
Filter, Group, Sort
Description
ID of the OrderSummary associated with the OrderPaymentSummary.
OwnerId
Type
reference
Properties
Create, Defaulted on create, Filter, Group, Sort, Update
Description
The ID of the user who currently owns this OrderPaymentSummary. Default value is the user logged in to the API to perform the create.
PaymentMethodId
Type
reference
Properties
Filter, Group, Nillable, Sort
Description
ID of the payment method associated with this OrderPaymentSummary.
PendingAuthorization​Amount
Type
currency
Properties
Filter, Nillable, Sort
Description
Amount of the OrderPaymentSummary that is pending authorization.
PendingCaptureAmount
Type
currency
Properties
Filter, Nillable, Sort
Description
Amount of the OrderPaymentSummary that is pending capture.
PendingRefundAmount
Type
currency
Properties
Filter, Nillable, Sort
Description
Amount of the OrderPaymentSummary that is pending refund.
PendingReverseAuth​Amount
Type
currency
Properties
Filter, Nillable, Sort
Description
Amount of the AuthorizationAmount that is pending reversal.
RefundedAmount
Type
currency
Properties
Filter, Nillable, Sort
Description
Amount of the OrderPaymentSummary that has been refunded.
Type
Type
string
Properties
Filter, Group, Sort
Description
The payment method type associated with the OrderPaymentSummary. For example, visa, mastercard, check, or giftcard.