public class ListOffersRequest
extends java.lang.Object
Constructor and Description |
---|
ListOffersRequest()
Constructs a
ListOffersRequest using the default values (includeContent is false) |
Modifier and Type | Method and Description |
---|---|
java.util.List<ListFilter> |
getFilters()
Retrieves the list of filters of this request object
|
ListSorter |
getSorter()
Returns the sorter for this list
|
boolean |
includeContent()
Returns true if this offers request has been instructed to also retrieve the offer's content
|
ListOffersRequest |
includeContent(boolean include)
Sets the includeContent flag on this request
|
ListOffersRequest |
withFilter(ListFilter filter)
Adds a filter to this requests filter list.
|
ListOffersRequest |
withSorter(ListSorter sorter)
Adds a sorter to this request.
|
public ListOffersRequest()
ListOffersRequest
using the default values (includeContent is false)public ListOffersRequest includeContent(boolean include)
include
- if set to true, the response object(s) will also include the content of the offers, otherwise they won'tListOffersRequest
objectpublic boolean includeContent()
public ListOffersRequest withFilter(ListFilter filter)
filter
- a ListFilter
objectpublic ListOffersRequest withSorter(ListSorter sorter)
sorter
- a ListSorter
objectpublic java.util.List<ListFilter> getFilters()
ListFilter
objectspublic ListSorter getSorter()
ListSorter
objectCopyright © 2010 - 2020 Adobe. All Rights Reserved