Class GetOrdersRequest
java.lang.Object
com.amilesend.discogs.model.PaginatedRequestBase
com.amilesend.discogs.model.marketplace.GetOrdersRequest
- All Implemented Interfaces:
QueryParameterBasedRequest
The request to retrieve the paginated list of orders for a user.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classGetOrdersRequest.GetOrdersRequestBuilder<C extends GetOrdersRequest, B extends GetOrdersRequest.GetOrdersRequestBuilder<C,B>> static enumDescribes the sort options for requesting a list of orders.Nested classes/interfaces inherited from class PaginatedRequestBase
PaginatedRequestBase.PaginatedRequestBaseBuilder<C,B> -
Method Summary
Modifier and TypeMethodDescriptionstatic GetOrdersRequest.GetOrdersRequestBuilder<?, ?> builder()booleanArchived flag indicator (optional).Created after timestamp (optional).Created before timestamp (optional).getSort()The attribute to sort on (optional).The sort order (optional).The order status (optional).inthashCode()okhttp3.HttpUrl.BuilderpopulateQueryParameters(okhttp3.HttpUrl.Builder urlBuilder) Helper method to populate query parameters of aHttpUrl.Builder.toString()Methods inherited from class PaginatedRequestBase
getPage, getPerPage
-
Method Details
-
populateQueryParameters
public okhttp3.HttpUrl.Builder populateQueryParameters( okhttp3.HttpUrl.Builder urlBuilder) Description copied from interface:QueryParameterBasedRequestHelper method to populate query parameters of aHttpUrl.Builder.- Specified by:
populateQueryParametersin interfaceQueryParameterBasedRequest- Overrides:
populateQueryParametersin classPaginatedRequestBase- Parameters:
urlBuilder- the HttpUrl.Builder instance- Returns:
- the HttpUrl.Builder instance
-
builder
-
getStatus
-
getCreatedAfter
Created after timestamp (optional). -
getCreatedBefore
Created before timestamp (optional). -
getArchived
Archived flag indicator (optional). -
getSort
-
getSortOrder
-
equals
- Overrides:
equalsin classPaginatedRequestBase
-
hashCode
public int hashCode()- Overrides:
hashCodein classPaginatedRequestBase
-
toString
- Overrides:
toStringin classPaginatedRequestBase
-