Class PromotionsServiceClient.ListPromotionsPage (0.4.0)

public static class PromotionsServiceClient.ListPromotionsPage extends AbstractPage<ListPromotionsRequest,ListPromotionsResponse,Promotion,PromotionsServiceClient.ListPromotionsPage>

Inheritance

java.lang.Object > AbstractPage > PromotionsServiceClient.ListPromotionsPage

Methods

createPage(PageContext<ListPromotionsRequest,ListPromotionsResponse,Promotion> context, ListPromotionsResponse response)

protected PromotionsServiceClient.ListPromotionsPage createPage(PageContext<ListPromotionsRequest,ListPromotionsResponse,Promotion> context, ListPromotionsResponse response)
Parameters
Name Description
context PageContext<ListPromotionsRequest,ListPromotionsResponse,Promotion>
response ListPromotionsResponse
Returns
Type Description
PromotionsServiceClient.ListPromotionsPage
Overrides

createPageAsync(PageContext<ListPromotionsRequest,ListPromotionsResponse,Promotion> context, ApiFuture<ListPromotionsResponse> futureResponse)

public ApiFuture<PromotionsServiceClient.ListPromotionsPage> createPageAsync(PageContext<ListPromotionsRequest,ListPromotionsResponse,Promotion> context, ApiFuture<ListPromotionsResponse> futureResponse)
Parameters
Name Description
context PageContext<ListPromotionsRequest,ListPromotionsResponse,Promotion>
futureResponse ApiFuture<ListPromotionsResponse>
Returns
Type Description
ApiFuture<ListPromotionsPage>
Overrides