commercestorepricing.PricingResponseItemCollection
Class providing methods to retrieve and manipulate PricingResponseItem collection
Methods
global get(Integer index)
Returns the commercestorepricing.PricingResponseItem at given index in the collection
Parameters
| Param | Description |
|---|
index | Index of the item to retrieve |
global iterator()
Returns an iterator over the collection of commercestorepricing.PricingResponseItem objects.
Returns
global indexOf(PricingResponseItem dto)
Returns the index of a PricingResponseItem in pricingResponseItemList
Parameters
Returns
| Type | Description |
|---|
| Integer | index of the specified item or -1 if the item is not found |
global size()
Returns number of elements in the list
Returns
| Type | Description |
|---|
| Integer | Number of elements in the list |
global isEmpty()
Checks if there are elements in the list
Returns
| Type | Description |
|---|
| Boolean | True 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