Package com.stripe.service.terminal
Class ReaderService
java.lang.Object
com.stripe.net.ApiService
com.stripe.service.terminal.ReaderService
-
Constructor Summary
Constructors -
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 newReaderobject.create(ReaderCreateParams params, RequestOptions options) Creates a newReaderobject.Deletes aReaderobject.delete(String reader, RequestOptions options) Deletes aReaderobject.list()Returns a list ofReaderobjects.list(RequestOptions options) Returns a list ofReaderobjects.list(ReaderListParams params) Returns a list ofReaderobjects.list(ReaderListParams params, RequestOptions options) Returns a list ofReaderobjects.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 aReaderobject.retrieve(String reader, RequestOptions options) Retrieves aReaderobject.retrieve(String reader, ReaderRetrieveParams params) Retrieves aReaderobject.retrieve(String reader, ReaderRetrieveParams params, RequestOptions options) Retrieves aReaderobject.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 aReaderobject by setting the values of the parameters passed.update(String reader, RequestOptions options) Updates aReaderobject by setting the values of the parameters passed.update(String reader, ReaderUpdateParams params) Updates aReaderobject by setting the values of the parameters passed.update(String reader, ReaderUpdateParams params, RequestOptions options) Updates aReaderobject 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 aReaderobject.- Throws:
StripeException
-
delete
Deletes aReaderobject.- Throws:
StripeException
-
retrieve
Retrieves aReaderobject.- Throws:
StripeException
-
retrieve
Retrieves aReaderobject.- Throws:
StripeException
-
retrieve
Retrieves aReaderobject.- Throws:
StripeException
-
retrieve
public Reader retrieve(String reader, ReaderRetrieveParams params, RequestOptions options) throws StripeException Retrieves aReaderobject.- Throws:
StripeException
-
update
Updates aReaderobject by setting the values of the parameters passed. Any parameters not provided will be left unchanged.- Throws:
StripeException
-
update
Updates aReaderobject by setting the values of the parameters passed. Any parameters not provided will be left unchanged.- Throws:
StripeException
-
update
Updates aReaderobject 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 aReaderobject by setting the values of the parameters passed. Any parameters not provided will be left unchanged.- Throws:
StripeException
-
list
Returns a list ofReaderobjects.- Throws:
StripeException
-
list
Returns a list ofReaderobjects.- Throws:
StripeException
-
list
Returns a list ofReaderobjects.- Throws:
StripeException
-
list
public StripeCollection<Reader> list(ReaderListParams params, RequestOptions options) throws StripeException Returns a list ofReaderobjects.- Throws:
StripeException
-
create
Creates a newReaderobject.- Throws:
StripeException
-
create
Creates a newReaderobject.- 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
-