@@ -553,12 +553,12 @@ public void setSubscriptionObject(Subscription expandableObject) {
553
553
new ExpandableField <Subscription >(expandableObject .getId (), expandableObject );
554
554
}
555
555
556
- /** Creates a Session object. */
556
+ /** Creates a Checkout Session object. */
557
557
public static Session create (Map <String , Object > params ) throws StripeException {
558
558
return create (params , (RequestOptions ) null );
559
559
}
560
560
561
- /** Creates a Session object. */
561
+ /** Creates a Checkout Session object. */
562
562
public static Session create (Map <String , Object > params , RequestOptions options )
563
563
throws StripeException {
564
564
String path = "/v1/checkout/sessions" ;
@@ -567,12 +567,12 @@ public static Session create(Map<String, Object> params, RequestOptions options)
567
567
return getGlobalResponseGetter ().request (request , Session .class );
568
568
}
569
569
570
- /** Creates a Session object. */
570
+ /** Creates a Checkout Session object. */
571
571
public static Session create (SessionCreateParams params ) throws StripeException {
572
572
return create (params , (RequestOptions ) null );
573
573
}
574
574
575
- /** Creates a Session object. */
575
+ /** Creates a Checkout Session object. */
576
576
public static Session create (SessionCreateParams params , RequestOptions options )
577
577
throws StripeException {
578
578
String path = "/v1/checkout/sessions" ;
@@ -588,40 +588,40 @@ public static Session create(SessionCreateParams params, RequestOptions options)
588
588
}
589
589
590
590
/**
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}
592
592
*
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.
595
595
*/
596
596
public Session expire () throws StripeException {
597
597
return expire ((Map <String , Object >) null , (RequestOptions ) null );
598
598
}
599
599
600
600
/**
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}
602
602
*
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.
605
605
*/
606
606
public Session expire (RequestOptions options ) throws StripeException {
607
607
return expire ((Map <String , Object >) null , options );
608
608
}
609
609
610
610
/**
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}
612
612
*
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.
615
615
*/
616
616
public Session expire (Map <String , Object > params ) throws StripeException {
617
617
return expire (params , (RequestOptions ) null );
618
618
}
619
619
620
620
/**
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}
622
622
*
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.
625
625
*/
626
626
public Session expire (Map <String , Object > params , RequestOptions options ) throws StripeException {
627
627
String path =
@@ -632,20 +632,20 @@ public Session expire(Map<String, Object> params, RequestOptions options) throws
632
632
}
633
633
634
634
/**
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}
636
636
*
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.
639
639
*/
640
640
public Session expire (SessionExpireParams params ) throws StripeException {
641
641
return expire (params , (RequestOptions ) null );
642
642
}
643
643
644
644
/**
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}
646
646
*
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.
649
649
*/
650
650
public Session expire (SessionExpireParams params , RequestOptions options ) throws StripeException {
651
651
String path =
@@ -757,17 +757,17 @@ public LineItemCollection listLineItems(SessionListLineItemsParams params, Reque
757
757
return getResponseGetter ().request (request , LineItemCollection .class );
758
758
}
759
759
760
- /** Retrieves a Session object. */
760
+ /** Retrieves a Checkout Session object. */
761
761
public static Session retrieve (String session ) throws StripeException {
762
762
return retrieve (session , (Map <String , Object >) null , (RequestOptions ) null );
763
763
}
764
764
765
- /** Retrieves a Session object. */
765
+ /** Retrieves a Checkout Session object. */
766
766
public static Session retrieve (String session , RequestOptions options ) throws StripeException {
767
767
return retrieve (session , (Map <String , Object >) null , options );
768
768
}
769
769
770
- /** Retrieves a Session object. */
770
+ /** Retrieves a Checkout Session object. */
771
771
public static Session retrieve (String session , Map <String , Object > params , RequestOptions options )
772
772
throws StripeException {
773
773
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
776
776
return getGlobalResponseGetter ().request (request , Session .class );
777
777
}
778
778
779
- /** Retrieves a Session object. */
779
+ /** Retrieves a Checkout Session object. */
780
780
public static Session retrieve (
781
781
String session , SessionRetrieveParams params , RequestOptions options ) throws StripeException {
782
782
String path = String .format ("/v1/checkout/sessions/%s" , ApiResource .urlEncodeId (session ));
@@ -791,13 +791,13 @@ public static Session retrieve(
791
791
return getGlobalResponseGetter ().request (request , Session .class );
792
792
}
793
793
794
- /** Updates a Session object. */
794
+ /** Updates a Checkout Session object. */
795
795
@ Override
796
796
public Session update (Map <String , Object > params ) throws StripeException {
797
797
return update (params , (RequestOptions ) null );
798
798
}
799
799
800
- /** Updates a Session object. */
800
+ /** Updates a Checkout Session object. */
801
801
@ Override
802
802
public Session update (Map <String , Object > params , RequestOptions options ) throws StripeException {
803
803
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
806
806
return getResponseGetter ().request (request , Session .class );
807
807
}
808
808
809
- /** Updates a Session object. */
809
+ /** Updates a Checkout Session object. */
810
810
public Session update (SessionUpdateParams params ) throws StripeException {
811
811
return update (params , (RequestOptions ) null );
812
812
}
813
813
814
- /** Updates a Session object. */
814
+ /** Updates a Checkout Session object. */
815
815
public Session update (SessionUpdateParams params , RequestOptions options ) throws StripeException {
816
816
String path = String .format ("/v1/checkout/sessions/%s" , ApiResource .urlEncodeId (this .getId ()));
817
817
ApiResource .checkNullTypedParams (path , params );
0 commit comments