Class PaymentPagedQueryResponseImpl
- All Implemented Interfaces:
PaymentPagedQueryResponse
,ResourcePagedQueryResponse<Payment>
,io.vrap.rmf.base.client.ModelBase
PagedQueryResult with results
containing an array of Payment.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase
io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getCount()
Actual number of results returned.getLimit()
Number of results requested.Number of elements skipped.Payments matching the query.getTotal()
Total number of results matching the query.int
hashCode()
void
Actual number of results returned.void
Number of results requested.void
Number of elements skipped.void
setResults
(Payment... results) Payments matching the query.void
setResults
(List<Payment> results) Payments matching the query.void
Total number of results matching the query.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
Methods inherited from interface com.commercetools.api.models.payment.PaymentPagedQueryResponse
withPaymentPagedQueryResponse
Methods inherited from interface com.commercetools.api.models.ResourcePagedQueryResponse
getPageIndex, getTotalPages, head, isFirst, isLast
-
Constructor Details
-
PaymentPagedQueryResponseImpl
public PaymentPagedQueryResponseImpl()create empty instance
-
-
Method Details
-
getLimit
Number of results requested.
- Specified by:
getLimit
in interfacePaymentPagedQueryResponse
- Specified by:
getLimit
in interfaceResourcePagedQueryResponse<Payment>
- Returns:
- limit
-
getCount
Actual number of results returned.
- Specified by:
getCount
in interfacePaymentPagedQueryResponse
- Specified by:
getCount
in interfaceResourcePagedQueryResponse<Payment>
- Returns:
- count
-
getTotal
Total number of results matching the query. This number is an estimation that is not strongly consistent. This field is returned by default. For improved performance, calculating this field can be deactivated by using the query parameter
withTotal=false
. When the results are filtered with a Query Predicate,total
is subject to a limit.- Specified by:
getTotal
in interfacePaymentPagedQueryResponse
- Specified by:
getTotal
in interfaceResourcePagedQueryResponse<Payment>
- Returns:
- total
-
getOffset
Number of elements skipped.
- Specified by:
getOffset
in interfacePaymentPagedQueryResponse
- Specified by:
getOffset
in interfaceResourcePagedQueryResponse<Payment>
- Returns:
- offset
-
getResults
Payments matching the query.
- Specified by:
getResults
in interfacePaymentPagedQueryResponse
- Specified by:
getResults
in interfaceResourcePagedQueryResponse<Payment>
- Returns:
- results
-
setLimit
Description copied from interface:PaymentPagedQueryResponse
Number of results requested.
- Specified by:
setLimit
in interfacePaymentPagedQueryResponse
- Parameters:
limit
- value to be set
-
setCount
Description copied from interface:PaymentPagedQueryResponse
Actual number of results returned.
- Specified by:
setCount
in interfacePaymentPagedQueryResponse
- Parameters:
count
- value to be set
-
setTotal
Description copied from interface:PaymentPagedQueryResponse
Total number of results matching the query. This number is an estimation that is not strongly consistent. This field is returned by default. For improved performance, calculating this field can be deactivated by using the query parameter
withTotal=false
. When the results are filtered with a Query Predicate,total
is subject to a limit.- Specified by:
setTotal
in interfacePaymentPagedQueryResponse
- Parameters:
total
- value to be set
-
setOffset
Description copied from interface:PaymentPagedQueryResponse
Number of elements skipped.
- Specified by:
setOffset
in interfacePaymentPagedQueryResponse
- Parameters:
offset
- value to be set
-
setResults
Description copied from interface:PaymentPagedQueryResponse
Payments matching the query.
- Specified by:
setResults
in interfacePaymentPagedQueryResponse
- Parameters:
results
- values to be set
-
setResults
Description copied from interface:PaymentPagedQueryResponse
Payments matching the query.
- Specified by:
setResults
in interfacePaymentPagedQueryResponse
- Parameters:
results
- values to be set
-
equals
-
hashCode
public int hashCode()
-