Skip to content

Commit b810e01

Browse files
Update generated code for v1532
1 parent da70c0d commit b810e01

File tree

3 files changed

+55
-55
lines changed

3 files changed

+55
-55
lines changed

OPENAPI_VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v1529
1+
v1532

src/main/java/com/stripe/model/checkout/Session.java

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -553,12 +553,12 @@ public void setSubscriptionObject(Subscription expandableObject) {
553553
new ExpandableField<Subscription>(expandableObject.getId(), expandableObject);
554554
}
555555

556-
/** Creates a Session object. */
556+
/** Creates a Checkout Session object. */
557557
public static Session create(Map<String, Object> params) throws StripeException {
558558
return create(params, (RequestOptions) null);
559559
}
560560

561-
/** Creates a Session object. */
561+
/** Creates a Checkout Session object. */
562562
public static Session create(Map<String, Object> params, RequestOptions options)
563563
throws StripeException {
564564
String path = "/v1/checkout/sessions";
@@ -567,12 +567,12 @@ public static Session create(Map<String, Object> params, RequestOptions options)
567567
return getGlobalResponseGetter().request(request, Session.class);
568568
}
569569

570-
/** Creates a Session object. */
570+
/** Creates a Checkout Session object. */
571571
public static Session create(SessionCreateParams params) throws StripeException {
572572
return create(params, (RequestOptions) null);
573573
}
574574

575-
/** Creates a Session object. */
575+
/** Creates a Checkout Session object. */
576576
public static Session create(SessionCreateParams params, RequestOptions options)
577577
throws StripeException {
578578
String path = "/v1/checkout/sessions";
@@ -588,40 +588,40 @@ public static Session create(SessionCreateParams params, RequestOptions options)
588588
}
589589

590590
/**
591-
* A Session can be expired when it is in one of these statuses: {@code open}
591+
* A Checkout Session can be expired when it is in one of these statuses: {@code open}
592592
*
593-
* <p>After it expires, a customer can’t complete a Session and customers loading the Session see
594-
* a message saying the Session is expired.
593+
* <p>After it expires, a customer can’t complete a Checkout Session and customers loading the
594+
* Checkout Session see a message saying the Checkout Session is expired.
595595
*/
596596
public Session expire() throws StripeException {
597597
return expire((Map<String, Object>) null, (RequestOptions) null);
598598
}
599599

600600
/**
601-
* A Session can be expired when it is in one of these statuses: {@code open}
601+
* A Checkout Session can be expired when it is in one of these statuses: {@code open}
602602
*
603-
* <p>After it expires, a customer can’t complete a Session and customers loading the Session see
604-
* a message saying the Session is expired.
603+
* <p>After it expires, a customer can’t complete a Checkout Session and customers loading the
604+
* Checkout Session see a message saying the Checkout Session is expired.
605605
*/
606606
public Session expire(RequestOptions options) throws StripeException {
607607
return expire((Map<String, Object>) null, options);
608608
}
609609

610610
/**
611-
* A Session can be expired when it is in one of these statuses: {@code open}
611+
* A Checkout Session can be expired when it is in one of these statuses: {@code open}
612612
*
613-
* <p>After it expires, a customer can’t complete a Session and customers loading the Session see
614-
* a message saying the Session is expired.
613+
* <p>After it expires, a customer can’t complete a Checkout Session and customers loading the
614+
* Checkout Session see a message saying the Checkout Session is expired.
615615
*/
616616
public Session expire(Map<String, Object> params) throws StripeException {
617617
return expire(params, (RequestOptions) null);
618618
}
619619

620620
/**
621-
* A Session can be expired when it is in one of these statuses: {@code open}
621+
* A Checkout Session can be expired when it is in one of these statuses: {@code open}
622622
*
623-
* <p>After it expires, a customer can’t complete a Session and customers loading the Session see
624-
* a message saying the Session is expired.
623+
* <p>After it expires, a customer can’t complete a Checkout Session and customers loading the
624+
* Checkout Session see a message saying the Checkout Session is expired.
625625
*/
626626
public Session expire(Map<String, Object> params, RequestOptions options) throws StripeException {
627627
String path =
@@ -632,20 +632,20 @@ public Session expire(Map<String, Object> params, RequestOptions options) throws
632632
}
633633

634634
/**
635-
* A Session can be expired when it is in one of these statuses: {@code open}
635+
* A Checkout Session can be expired when it is in one of these statuses: {@code open}
636636
*
637-
* <p>After it expires, a customer can’t complete a Session and customers loading the Session see
638-
* a message saying the Session is expired.
637+
* <p>After it expires, a customer can’t complete a Checkout Session and customers loading the
638+
* Checkout Session see a message saying the Checkout Session is expired.
639639
*/
640640
public Session expire(SessionExpireParams params) throws StripeException {
641641
return expire(params, (RequestOptions) null);
642642
}
643643

644644
/**
645-
* A Session can be expired when it is in one of these statuses: {@code open}
645+
* A Checkout Session can be expired when it is in one of these statuses: {@code open}
646646
*
647-
* <p>After it expires, a customer can’t complete a Session and customers loading the Session see
648-
* a message saying the Session is expired.
647+
* <p>After it expires, a customer can’t complete a Checkout Session and customers loading the
648+
* Checkout Session see a message saying the Checkout Session is expired.
649649
*/
650650
public Session expire(SessionExpireParams params, RequestOptions options) throws StripeException {
651651
String path =
@@ -757,17 +757,17 @@ public LineItemCollection listLineItems(SessionListLineItemsParams params, Reque
757757
return getResponseGetter().request(request, LineItemCollection.class);
758758
}
759759

760-
/** Retrieves a Session object. */
760+
/** Retrieves a Checkout Session object. */
761761
public static Session retrieve(String session) throws StripeException {
762762
return retrieve(session, (Map<String, Object>) null, (RequestOptions) null);
763763
}
764764

765-
/** Retrieves a Session object. */
765+
/** Retrieves a Checkout Session object. */
766766
public static Session retrieve(String session, RequestOptions options) throws StripeException {
767767
return retrieve(session, (Map<String, Object>) null, options);
768768
}
769769

770-
/** Retrieves a Session object. */
770+
/** Retrieves a Checkout Session object. */
771771
public static Session retrieve(String session, Map<String, Object> params, RequestOptions options)
772772
throws StripeException {
773773
String path = String.format("/v1/checkout/sessions/%s", ApiResource.urlEncodeId(session));
@@ -776,7 +776,7 @@ public static Session retrieve(String session, Map<String, Object> params, Reque
776776
return getGlobalResponseGetter().request(request, Session.class);
777777
}
778778

779-
/** Retrieves a Session object. */
779+
/** Retrieves a Checkout Session object. */
780780
public static Session retrieve(
781781
String session, SessionRetrieveParams params, RequestOptions options) throws StripeException {
782782
String path = String.format("/v1/checkout/sessions/%s", ApiResource.urlEncodeId(session));
@@ -791,13 +791,13 @@ public static Session retrieve(
791791
return getGlobalResponseGetter().request(request, Session.class);
792792
}
793793

794-
/** Updates a Session object. */
794+
/** Updates a Checkout Session object. */
795795
@Override
796796
public Session update(Map<String, Object> params) throws StripeException {
797797
return update(params, (RequestOptions) null);
798798
}
799799

800-
/** Updates a Session object. */
800+
/** Updates a Checkout Session object. */
801801
@Override
802802
public Session update(Map<String, Object> params, RequestOptions options) throws StripeException {
803803
String path = String.format("/v1/checkout/sessions/%s", ApiResource.urlEncodeId(this.getId()));
@@ -806,12 +806,12 @@ public Session update(Map<String, Object> params, RequestOptions options) throws
806806
return getResponseGetter().request(request, Session.class);
807807
}
808808

809-
/** Updates a Session object. */
809+
/** Updates a Checkout Session object. */
810810
public Session update(SessionUpdateParams params) throws StripeException {
811811
return update(params, (RequestOptions) null);
812812
}
813813

814-
/** Updates a Session object. */
814+
/** Updates a Checkout Session object. */
815815
public Session update(SessionUpdateParams params, RequestOptions options) throws StripeException {
816816
String path = String.format("/v1/checkout/sessions/%s", ApiResource.urlEncodeId(this.getId()));
817817
ApiResource.checkNullTypedParams(path, params);

src/main/java/com/stripe/service/checkout/SessionService.java

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -48,19 +48,19 @@ public StripeCollection<Session> list(SessionListParams params, RequestOptions o
4848
options);
4949
return this.request(request, new TypeToken<StripeCollection<Session>>() {}.getType());
5050
}
51-
/** Creates a Session object. */
51+
/** Creates a Checkout Session object. */
5252
public Session create(SessionCreateParams params) throws StripeException {
5353
return create(params, (RequestOptions) null);
5454
}
55-
/** Creates a Session object. */
55+
/** Creates a Checkout Session object. */
5656
public Session create(RequestOptions options) throws StripeException {
5757
return create((SessionCreateParams) null, options);
5858
}
59-
/** Creates a Session object. */
59+
/** Creates a Checkout Session object. */
6060
public Session create() throws StripeException {
6161
return create((SessionCreateParams) null, (RequestOptions) null);
6262
}
63-
/** Creates a Session object. */
63+
/** Creates a Checkout Session object. */
6464
public Session create(SessionCreateParams params, RequestOptions options) throws StripeException {
6565
String path = "/v1/checkout/sessions";
6666
ApiRequest request =
@@ -72,19 +72,19 @@ public Session create(SessionCreateParams params, RequestOptions options) throws
7272
options);
7373
return this.request(request, Session.class);
7474
}
75-
/** Retrieves a Session object. */
75+
/** Retrieves a Checkout Session object. */
7676
public Session retrieve(String session, SessionRetrieveParams params) throws StripeException {
7777
return retrieve(session, params, (RequestOptions) null);
7878
}
79-
/** Retrieves a Session object. */
79+
/** Retrieves a Checkout Session object. */
8080
public Session retrieve(String session, RequestOptions options) throws StripeException {
8181
return retrieve(session, (SessionRetrieveParams) null, options);
8282
}
83-
/** Retrieves a Session object. */
83+
/** Retrieves a Checkout Session object. */
8484
public Session retrieve(String session) throws StripeException {
8585
return retrieve(session, (SessionRetrieveParams) null, (RequestOptions) null);
8686
}
87-
/** Retrieves a Session object. */
87+
/** Retrieves a Checkout Session object. */
8888
public Session retrieve(String session, SessionRetrieveParams params, RequestOptions options)
8989
throws StripeException {
9090
String path = String.format("/v1/checkout/sessions/%s", ApiResource.urlEncodeId(session));
@@ -97,19 +97,19 @@ public Session retrieve(String session, SessionRetrieveParams params, RequestOpt
9797
options);
9898
return this.request(request, Session.class);
9999
}
100-
/** Updates a Session object. */
100+
/** Updates a Checkout Session object. */
101101
public Session update(String session, SessionUpdateParams params) throws StripeException {
102102
return update(session, params, (RequestOptions) null);
103103
}
104-
/** Updates a Session object. */
104+
/** Updates a Checkout Session object. */
105105
public Session update(String session, RequestOptions options) throws StripeException {
106106
return update(session, (SessionUpdateParams) null, options);
107107
}
108-
/** Updates a Session object. */
108+
/** Updates a Checkout Session object. */
109109
public Session update(String session) throws StripeException {
110110
return update(session, (SessionUpdateParams) null, (RequestOptions) null);
111111
}
112-
/** Updates a Session object. */
112+
/** Updates a Checkout Session object. */
113113
public Session update(String session, SessionUpdateParams params, RequestOptions options)
114114
throws StripeException {
115115
String path = String.format("/v1/checkout/sessions/%s", ApiResource.urlEncodeId(session));
@@ -123,37 +123,37 @@ public Session update(String session, SessionUpdateParams params, RequestOptions
123123
return this.request(request, Session.class);
124124
}
125125
/**
126-
* A Session can be expired when it is in one of these statuses: {@code open}
126+
* A Checkout Session can be expired when it is in one of these statuses: {@code open}
127127
*
128-
* <p>After it expires, a customer can’t complete a Session and customers loading the Session see
129-
* a message saying the Session is expired.
128+
* <p>After it expires, a customer can’t complete a Checkout Session and customers loading the
129+
* Checkout Session see a message saying the Checkout Session is expired.
130130
*/
131131
public Session expire(String session, SessionExpireParams params) throws StripeException {
132132
return expire(session, params, (RequestOptions) null);
133133
}
134134
/**
135-
* A Session can be expired when it is in one of these statuses: {@code open}
135+
* A Checkout Session can be expired when it is in one of these statuses: {@code open}
136136
*
137-
* <p>After it expires, a customer can’t complete a Session and customers loading the Session see
138-
* a message saying the Session is expired.
137+
* <p>After it expires, a customer can’t complete a Checkout Session and customers loading the
138+
* Checkout Session see a message saying the Checkout Session is expired.
139139
*/
140140
public Session expire(String session, RequestOptions options) throws StripeException {
141141
return expire(session, (SessionExpireParams) null, options);
142142
}
143143
/**
144-
* A Session can be expired when it is in one of these statuses: {@code open}
144+
* A Checkout Session can be expired when it is in one of these statuses: {@code open}
145145
*
146-
* <p>After it expires, a customer can’t complete a Session and customers loading the Session see
147-
* a message saying the Session is expired.
146+
* <p>After it expires, a customer can’t complete a Checkout Session and customers loading the
147+
* Checkout Session see a message saying the Checkout Session is expired.
148148
*/
149149
public Session expire(String session) throws StripeException {
150150
return expire(session, (SessionExpireParams) null, (RequestOptions) null);
151151
}
152152
/**
153-
* A Session can be expired when it is in one of these statuses: {@code open}
153+
* A Checkout Session can be expired when it is in one of these statuses: {@code open}
154154
*
155-
* <p>After it expires, a customer can’t complete a Session and customers loading the Session see
156-
* a message saying the Session is expired.
155+
* <p>After it expires, a customer can’t complete a Checkout Session and customers loading the
156+
* Checkout Session see a message saying the Checkout Session is expired.
157157
*/
158158
public Session expire(String session, SessionExpireParams params, RequestOptions options)
159159
throws StripeException {

0 commit comments

Comments
 (0)