commercestorepricing.PricingRequestItemCollection

Class providing methods to retrieve and manipulate PricingRequestItem collection

Methods 

global get(Integer index) 

Returns the commercestorepricing.PricingRequestItem at given index in the collection

Parameters 

ParamDescription
indexIndex of the item to retrieve

Returns 

TypeDescription
PricingRequestItemPricingRequestItem

global iterator() 

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

Returns 

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

global indexOf(PricingRequestItem dto) 

Returns the index of a commercestorepricing.PricingRequestItem in the collection

Parameters 

ParamDescription
dtoPricingRequestItem

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


Developer Preview

This release is in preview. Features described in this document don't become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can't guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

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