API reference

TrialOfferArray Class

Represents a paginated list of com.meta.horizon.platform.ovr.models.TrialOffer elements. It allows you to easily access and manipulate the elements in the paginated list, such as the size of the list and if there is a next page of elements available.

Constructors

TrialOfferArray ( ptr )
Signature
com.meta.horizon.platform.ovr.models.TrialOfferArray.TrialOfferArray(final long ptr)
Parameters
ptr: final long

Methods

getElements ()
Access the indexed element in this list. Note that the index is zero-based, so the first element has an index of 0.
Signature
List<TrialOffer> com.meta.horizon.platform.ovr.models.TrialOfferArray.getElements()
Returns
List< TrialOffer > TrialOffer
getSize ()
The number of elements contained within this list. This is not equal to the total number of elements across multiple pages.
Signature
long com.meta.horizon.platform.ovr.models.TrialOfferArray.getSize()
Returns
long  long