The Salesforce Developers website will undergo maintenance on May 29, 2024 from 3:00 a.m. UTC to 10:00 a.m. UTC. The maintenance process may affect the availability of our documentation. Please plan accordingly.

CartExtension.CartItemPriceAdjustmentList

List of CartExtension.CartItemPriceAdjustment objects.

Returns the list element stored at the specified index. return CartExtension.CartItemPriceAdjustment

Returns an instance of an iterator for this list.

TypeDescription
Iterator<CartItemPriceAdjustment>

Returns the index of the first occurrence of the specified element in this list. If this list does not contain the element, returns -1.

TypeDescription
Integer

Returns the number of elements in the list.

TypeDescription
Integer

Returns true if the list has zero elements.

TypeDescription
Boolean

Adds an element to the list.

TypeDescription
void

Removes an element from the list.

TypeDescription
void

Removes all elements from a list, consequently setting the list's length to zero.

TypeDescription
void