commercestorepricing.TxnPricingRequestItemCollection

Represents a wrapper class for list of transactional pricing request items

Methods 

global get(Integer index) 

Returns the commercestorepricing.TransactionalPricingRequestItem at given index in the list of items

Parameters 

ParamDescription
indexIndex of the item to retrieve

global iterator() 

Returns an iterator over the collection of commercestorepricing.TransactionalPricingRequestItem objects.

Returns 

TypeDescription
IteratorAn iterator that can be used to iterate through the collection of commercestorepricing.TransactionalPricingRequestItem objects.

global indexOf(TransactionalPricingRequestItem txnPricingRequestItem) 

Returns the index of a commercestorepricing.TransactionalPricingRequestItem

Returns 

TypeDescription
Integerindex of the specified item or -1 if the item is not found

global size() 

Returns number of elements in the list

Returns 

TypeDescription
IntegerNumber of elements in the list

global isEmpty() 

Checks if there are elements in the list

Returns 

TypeDescription
BooleanTrue if there are no elements in the list, false otherwise

global equals(Object obj) 

Compares the argument with the underlying commercestorepricing.PricingCollection object and returns true if they are equal

global hashCode() 

Returns the hashCode for this pricingCollection object


Newer Version Available

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