Class BillingAccountSearchRequest
java.lang.Object
com.eqixiac.equinix.customerportal.model.json.creators.BillingAccountSearchRequest
- All Implemented Interfaces:
PaginatedPostBody
Request body for searching billing accounts (
POST /billing/v2/billingAccounts/search,
searchBillingAccount).
All criteria are optional: ibxCode and metroCode narrow by where the account
may place orders, accountStatus filters by one or more statuses, projectId scopes
to an associated project, and limit/offset control paging.
Implements PaginatedPostBody so the shared paging pipeline can fetch subsequent
pages by re-pointing the body's top-level offset/limit members (that is where
the basv2 spec's SearchRequest carries its pagination) at the next window.
-
Nested Class Summary
Nested Classes -
Method Summary
-
Method Details
-
builder
Returns a new builder for a billing account search body. All criteria are optional.- Returns:
- a new builder
-
seekPage
public void seekPage(long pageOffset, long pageLimit) Description copied from interface:PaginatedPostBodyPoints this body's serialized pagination state at the page window starting atoffset, sizedlimit. Called by the paging pipeline both to advance to the next page and to roll back to the current page after a failed fetch.- Specified by:
seekPagein interfacePaginatedPostBody- Parameters:
pageOffset- the zero-based index of the first record of the requested pagepageLimit- the page size; implementations should ignore non-positive values (keeping their current/default limit) rather than sending an invalid one
-