Package com.stripe.service.checkout
Class SessionService
java.lang.Object
com.stripe.net.ApiService
com.stripe.service.checkout.SessionService
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreate()
Creates a Session object.create
(RequestOptions options) Creates a Session object.create
(SessionCreateParams params) Creates a Session object.create
(SessionCreateParams params, RequestOptions options) Creates a Session object.A Session can be expired when it is in one of these statuses:open
expire
(String session, RequestOptions options) A Session can be expired when it is in one of these statuses:open
expire
(String session, SessionExpireParams params) A Session can be expired when it is in one of these statuses:open
expire
(String session, SessionExpireParams params, RequestOptions options) A Session can be expired when it is in one of these statuses:open
list()
Returns a list of Checkout Sessions.list
(RequestOptions options) Returns a list of Checkout Sessions.list
(SessionListParams params) Returns a list of Checkout Sessions.list
(SessionListParams params, RequestOptions options) Returns a list of Checkout Sessions.Retrieves a Session object.retrieve
(String session, RequestOptions options) Retrieves a Session object.retrieve
(String session, SessionRetrieveParams params) Retrieves a Session object.retrieve
(String session, SessionRetrieveParams params, RequestOptions options) Retrieves a Session object.Updates a Session object.update
(String session, RequestOptions options) Updates a Session object.update
(String session, SessionUpdateParams params) Updates a Session object.update
(String session, SessionUpdateParams params, RequestOptions options) Updates a Session object.Methods inherited from class com.stripe.net.ApiService
getResponseGetter, request, requestStream
-
Constructor Details
-
SessionService
-
-
Method Details
-
list
Returns a list of Checkout Sessions.- Throws:
StripeException
-
list
Returns a list of Checkout Sessions.- Throws:
StripeException
-
list
Returns a list of Checkout Sessions.- Throws:
StripeException
-
list
public StripeCollection<Session> list(SessionListParams params, RequestOptions options) throws StripeException Returns a list of Checkout Sessions.- Throws:
StripeException
-
create
Creates a Session object.- Throws:
StripeException
-
create
Creates a Session object.- Throws:
StripeException
-
create
Creates a Session object.- Throws:
StripeException
-
create
Creates a Session object.- Throws:
StripeException
-
retrieve
Retrieves a Session object.- Throws:
StripeException
-
retrieve
Retrieves a Session object.- Throws:
StripeException
-
retrieve
Retrieves a Session object.- Throws:
StripeException
-
retrieve
public Session retrieve(String session, SessionRetrieveParams params, RequestOptions options) throws StripeException Retrieves a Session object.- Throws:
StripeException
-
update
Updates a Session object.- Throws:
StripeException
-
update
Updates a Session object.- Throws:
StripeException
-
update
Updates a Session object.- Throws:
StripeException
-
update
public Session update(String session, SessionUpdateParams params, RequestOptions options) throws StripeException Updates a Session object.- Throws:
StripeException
-
expire
A Session can be expired when it is in one of these statuses:open
After it expires, a customer can’t complete a Session and customers loading the Session see a message saying the Session is expired.
- Throws:
StripeException
-
expire
A Session can be expired when it is in one of these statuses:open
After it expires, a customer can’t complete a Session and customers loading the Session see a message saying the Session is expired.
- Throws:
StripeException
-
expire
A Session can be expired when it is in one of these statuses:open
After it expires, a customer can’t complete a Session and customers loading the Session see a message saying the Session is expired.
- Throws:
StripeException
-
expire
public Session expire(String session, SessionExpireParams params, RequestOptions options) throws StripeException A Session can be expired when it is in one of these statuses:open
After it expires, a customer can’t complete a Session and customers loading the Session see a message saying the Session is expired.
- Throws:
StripeException
-
lineItems
-