PaymentCartItem

Represents a line item in a payment cart. Each payment cart item is associated with a parent PaymentCart record and typically references an invoice. The Amount field on each item contributes to the TotalAmount roll-up summary on the parent PaymentCart. This object is available in API version 66.0 and later.

Supported Calls

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

Fields

Amount

  • Type: currency
  • Properties: Create, Filter, Sort, Update
  • Description: The monetary amount for this cart item.

Description

  • Type: textarea
  • Properties: Create, Nillable, Update
  • Description: A description of the payment cart item. Maximum length is 5,000 characters.

InvoiceId

  • Type: reference
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The ID of the invoice associated with this cart item.

    This field is a relationship field.

  • Relationship Name: Invoice
  • Refers To: Invoice

LastReferencedDate

  • Type: dateTime
  • Properties: Filter, Nillable, Sort
  • Description: The timestamp when the current user last accessed this record indirectly, for example, through a list view or related record.

LastViewedDate

  • Type: dateTime
  • Properties: Filter, Nillable, Sort
  • Description: The timestamp when the current user last viewed this record or list view. If this value is null, and LastReferencedDate is not null, the user accessed this record or list view indirectly.

Name

  • Type: string
  • Properties: Autonumber, Defaulted on create, Filter, idLookup, Sort
  • Description: The auto-generated name of the payment cart item. Uses the format PCI-{000000000}.

PaymentCartId

  • Type: reference
  • Properties: Create, Filter, Group, Sort
  • Description: The ID of the parent payment cart.

    This field is a relationship field.

  • Relationship Name: PaymentCart
  • Relationship Type: Primary-detail
  • Refers To: PaymentCart (the primary object)

Associated Objects

This object has the following associated objects. If the API version isn’t specified, they’re available in the same API versions as this object. Otherwise, they’re available in the specified API version and later.

PaymentCartItemHistory
History is available for tracked fields of the object.