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.

Where possible, we changed noninclusive terms to align with our company value of Equality. We maintained certain terms to avoid any effect on customer implementations.

Note

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 or if the B2B Commerce on Lightning Experience license is enabled.

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.
CurrencyIsoCode
Type
picklist
Properties
Create, Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort, Update
Description
Available only for orgs with the multicurrency feature enabled. Contains the ISO code for the currency of the OrderSummary associated with the OrderPaymentSummary. Order Management APIs and actions that create an OrderPaymentSummary for an OrderSummary set this value. The default value is USD.
Possible values are:
  • DKK—Danish Krone
  • EUR—Euro
  • GBP—British Pound
  • USD—U.S. Dollar
This field is available in API version 49.0 and later.
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.
LastReferencedDate
Type
dateTime
Properties
Filter, Nillable, Sort
Description
Timestamp for when the current user last viewed a record related to this record.
This field is available in API version 49.0 and later.
LastViewedDate
Type
dateTime
Properties
Filter, Nillable, Sort
Description
Timestamp for when the current user last viewed this record. A null value can mean that this record has only been referenced (LastReferencedDate) and not viewed.
This field is available in API version 49.0 and later.
Method
Type
string
Properties
Create, Filter, Group, idLookup, Sort, Update
Description
Name of the OrderPaymentSummary.
OrderSummaryId
Type
reference
Properties
Create, 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
Create, Filter, Group, Sort
Description
The payment method type associated with the OrderPaymentSummary. For example, visa, mastercard, check, or giftcard.

Associated Objects

This object has the following associated objects. Unless noted, they are available in the same API version as this object.

OrderPaymentSummaryFeed
Feed tracking is available for the object.
OrderPaymentSummaryOwnerSharingRule
Sharing rules are available for the object.
OrderPaymentSummaryShare
Sharing is available for the object.