Package com.stripe.service.terminal
Class ReaderService
java.lang.Object
com.stripe.net.ApiService
com.stripe.service.terminal.ReaderService
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncancelAction
(String reader) Cancels the current reader action.cancelAction
(String reader, RequestOptions options) Cancels the current reader action.cancelAction
(String reader, ReaderCancelActionParams params) Cancels the current reader action.cancelAction
(String reader, ReaderCancelActionParams params, RequestOptions options) Cancels the current reader action.create
(ReaderCreateParams params) Creates a newReader
object.create
(ReaderCreateParams params, RequestOptions options) Creates a newReader
object.Deletes aReader
object.delete
(String reader, RequestOptions options) Deletes aReader
object.list()
Returns a list ofReader
objects.list
(RequestOptions options) Returns a list ofReader
objects.list
(ReaderListParams params) Returns a list ofReader
objects.list
(ReaderListParams params, RequestOptions options) Returns a list ofReader
objects.processPaymentIntent
(String reader, ReaderProcessPaymentIntentParams params) Initiates a payment flow on a Reader.processPaymentIntent
(String reader, ReaderProcessPaymentIntentParams params, RequestOptions options) Initiates a payment flow on a Reader.processSetupIntent
(String reader, ReaderProcessSetupIntentParams params) Initiates a setup intent flow on a Reader.processSetupIntent
(String reader, ReaderProcessSetupIntentParams params, RequestOptions options) Initiates a setup intent flow on a Reader.refundPayment
(String reader) Initiates a refund on a Reader.refundPayment
(String reader, RequestOptions options) Initiates a refund on a Reader.refundPayment
(String reader, ReaderRefundPaymentParams params) Initiates a refund on a Reader.refundPayment
(String reader, ReaderRefundPaymentParams params, RequestOptions options) Initiates a refund on a Reader.Retrieves aReader
object.retrieve
(String reader, RequestOptions options) Retrieves aReader
object.retrieve
(String reader, ReaderRetrieveParams params) Retrieves aReader
object.retrieve
(String reader, ReaderRetrieveParams params, RequestOptions options) Retrieves aReader
object.setReaderDisplay
(String reader, ReaderSetReaderDisplayParams params) Sets reader display to show cart details.setReaderDisplay
(String reader, ReaderSetReaderDisplayParams params, RequestOptions options) Sets reader display to show cart details.Updates aReader
object by setting the values of the parameters passed.update
(String reader, RequestOptions options) Updates aReader
object by setting the values of the parameters passed.update
(String reader, ReaderUpdateParams params) Updates aReader
object by setting the values of the parameters passed.update
(String reader, ReaderUpdateParams params, RequestOptions options) Updates aReader
object by setting the values of the parameters passed.Methods inherited from class com.stripe.net.ApiService
getResponseGetter, request, requestStream
-
Constructor Details
-
ReaderService
-
-
Method Details
-
delete
Deletes aReader
object.- Throws:
StripeException
-
delete
Deletes aReader
object.- Throws:
StripeException
-
retrieve
Retrieves aReader
object.- Throws:
StripeException
-
retrieve
Retrieves aReader
object.- Throws:
StripeException
-
retrieve
Retrieves aReader
object.- Throws:
StripeException
-
retrieve
public Reader retrieve(String reader, ReaderRetrieveParams params, RequestOptions options) throws StripeException Retrieves aReader
object.- Throws:
StripeException
-
update
Updates aReader
object by setting the values of the parameters passed. Any parameters not provided will be left unchanged.- Throws:
StripeException
-
update
Updates aReader
object by setting the values of the parameters passed. Any parameters not provided will be left unchanged.- Throws:
StripeException
-
update
Updates aReader
object by setting the values of the parameters passed. Any parameters not provided will be left unchanged.- Throws:
StripeException
-
update
public Reader update(String reader, ReaderUpdateParams params, RequestOptions options) throws StripeException Updates aReader
object by setting the values of the parameters passed. Any parameters not provided will be left unchanged.- Throws:
StripeException
-
list
Returns a list ofReader
objects.- Throws:
StripeException
-
list
Returns a list ofReader
objects.- Throws:
StripeException
-
list
Returns a list ofReader
objects.- Throws:
StripeException
-
list
public StripeCollection<Reader> list(ReaderListParams params, RequestOptions options) throws StripeException Returns a list ofReader
objects.- Throws:
StripeException
-
create
Creates a newReader
object.- Throws:
StripeException
-
create
Creates a newReader
object.- Throws:
StripeException
-
cancelAction
Cancels the current reader action.- Throws:
StripeException
-
cancelAction
Cancels the current reader action.- Throws:
StripeException
-
cancelAction
Cancels the current reader action.- Throws:
StripeException
-
cancelAction
public Reader cancelAction(String reader, ReaderCancelActionParams params, RequestOptions options) throws StripeException Cancels the current reader action.- Throws:
StripeException
-
processPaymentIntent
public Reader processPaymentIntent(String reader, ReaderProcessPaymentIntentParams params) throws StripeException Initiates a payment flow on a Reader.- Throws:
StripeException
-
processPaymentIntent
public Reader processPaymentIntent(String reader, ReaderProcessPaymentIntentParams params, RequestOptions options) throws StripeException Initiates a payment flow on a Reader.- Throws:
StripeException
-
processSetupIntent
public Reader processSetupIntent(String reader, ReaderProcessSetupIntentParams params) throws StripeException Initiates a setup intent flow on a Reader.- Throws:
StripeException
-
processSetupIntent
public Reader processSetupIntent(String reader, ReaderProcessSetupIntentParams params, RequestOptions options) throws StripeException Initiates a setup intent flow on a Reader.- Throws:
StripeException
-
refundPayment
Initiates a refund on a Reader.- Throws:
StripeException
-
refundPayment
Initiates a refund on a Reader.- Throws:
StripeException
-
refundPayment
Initiates a refund on a Reader.- Throws:
StripeException
-
refundPayment
public Reader refundPayment(String reader, ReaderRefundPaymentParams params, RequestOptions options) throws StripeException Initiates a refund on a Reader.- Throws:
StripeException
-
setReaderDisplay
public Reader setReaderDisplay(String reader, ReaderSetReaderDisplayParams params) throws StripeException Sets reader display to show cart details.- Throws:
StripeException
-
setReaderDisplay
public Reader setReaderDisplay(String reader, ReaderSetReaderDisplayParams params, RequestOptions options) throws StripeException Sets reader display to show cart details.- Throws:
StripeException
-