CartExtension.CartDeliveryGroupMethodList

List of CartExtension.CartDeliveryGroupMethod objects.

Methods 

global CartDeliveryGroupMethod get(Integer index) 

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

global Iterator<CartDeliveryGroupMethod> iterator() 

Returns an instance of an iterator for this list.

Returns 

TypeDescription
Iterator<CartDeliveryGroupMethod>

global Integer indexOf(CartDeliveryGroupMethod cartDeliveryGroupMethod) 

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

Returns 

TypeDescription
Integer

global Integer size() 

Inherited

Returns the number of elements in the list.

Returns 

TypeDescription
Integer

global Boolean isEmpty() 

Inherited

Returns true if the list has zero elements.

Returns 

TypeDescription
Boolean

global void add(CommerceObject commerceObject) 

Inherited

Adds an element to the list.

Returns 

TypeDescription
void

global void remove(CommerceObject commerceObject) 

Inherited

Removes an element from the list.

Returns 

TypeDescription
void

global void clear() 

Inherited

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

Returns 

TypeDescription
void

Newer Version Available

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

DID THIS ARTICLE SOLVE YOUR ISSUE?
Let us know so we can improve!