From 5e471f36e9de03b3b12feb461413c9befa9865fd Mon Sep 17 00:00:00 2001 From: Prathmesh Ranaut Date: Mon, 30 Sep 2024 13:11:13 -0400 Subject: [PATCH] Pagination related comments --- src/main/java/com/stripe/model/v2/Event.java | 2 +- src/main/java/com/stripe/param/v2/core/EventListParams.java | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/stripe/model/v2/Event.java b/src/main/java/com/stripe/model/v2/Event.java index e74afac8178..feebc29bf71 100644 --- a/src/main/java/com/stripe/model/v2/Event.java +++ b/src/main/java/com/stripe/model/v2/Event.java @@ -130,7 +130,7 @@ public static class Reason extends StripeObject { Request request; /** - * Open Enum. Event reason type. + * Event reason type. * *

Equal to {@code request}. */ diff --git a/src/main/java/com/stripe/param/v2/core/EventListParams.java b/src/main/java/com/stripe/param/v2/core/EventListParams.java index a7a871fcff1..46aa46a383b 100644 --- a/src/main/java/com/stripe/param/v2/core/EventListParams.java +++ b/src/main/java/com/stripe/param/v2/core/EventListParams.java @@ -18,6 +18,7 @@ public class EventListParams extends ApiRequestParams { @SerializedName(ApiRequestParams.EXTRA_PARAMS_KEY) Map extraParams; + /** The page size. */ @SerializedName("limit") Integer limit; @@ -25,6 +26,7 @@ public class EventListParams extends ApiRequestParams { @SerializedName("object_id") String objectId; + /** The requested page number. */ @SerializedName("page") String page; @@ -80,6 +82,7 @@ public Builder putAllExtraParam(Map map) { return this; } + /** The page size. */ public Builder setLimit(Integer limit) { this.limit = limit; return this; @@ -91,6 +94,7 @@ public Builder setObjectId(String objectId) { return this; } + /** The requested page number. */ public Builder setPage(String page) { this.page = page; return this;