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.collectInputs(String reader, ReaderCollectInputsParams params) Initiates an input collection flow on a Reader to display input forms and collect information from your customers.collectInputs(String reader, ReaderCollectInputsParams params, RequestOptions options) Initiates an input collection flow on a Reader to display input forms and collect information from your customers.collectPaymentMethod(String reader, ReaderCollectPaymentMethodParams params) Initiates a payment flow on a Reader and updates the PaymentIntent with card details before manual confirmation.collectPaymentMethod(String reader, ReaderCollectPaymentMethodParams params, RequestOptions options) Initiates a payment flow on a Reader and updates the PaymentIntent with card details before manual confirmation.confirmPaymentIntent(String reader, ReaderConfirmPaymentIntentParams params) Finalizes a payment on a Reader.confirmPaymentIntent(String reader, ReaderConfirmPaymentIntentParams params, RequestOptions options) Finalizes a payment on a Reader.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 SetupIntent flow on a Reader.processSetupIntent(String reader, ReaderProcessSetupIntentParams params, RequestOptions options) Initiates a SetupIntent flow on a Reader.refundPayment(String reader) Initiates an in-person refund on a Reader.refundPayment(String reader, RequestOptions options) Initiates an in-person refund on a Reader.refundPayment(String reader, ReaderRefundPaymentParams params) Initiates an in-person refund on a Reader.refundPayment(String reader, ReaderRefundPaymentParams params, RequestOptions options) Initiates an in-person 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 the reader display to show cart details.setReaderDisplay(String reader, ReaderSetReaderDisplayParams params, RequestOptions options) Sets the 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. See Programmatic Cancellation for more details.- Throws:
StripeException
-
cancelAction
Cancels the current reader action. See Programmatic Cancellation for more details.- Throws:
StripeException
-
cancelAction
Cancels the current reader action. See Programmatic Cancellation for more details.- Throws:
StripeException
-
cancelAction
public Reader cancelAction(String reader, ReaderCancelActionParams params, RequestOptions options) throws StripeException Cancels the current reader action. See Programmatic Cancellation for more details.- Throws:
StripeException
-
collectInputs
Initiates an input collection flow on a Reader to display input forms and collect information from your customers.- Throws:
StripeException
-
collectInputs
public Reader collectInputs(String reader, ReaderCollectInputsParams params, RequestOptions options) throws StripeException Initiates an input collection flow on a Reader to display input forms and collect information from your customers.- Throws:
StripeException
-
collectPaymentMethod
public Reader collectPaymentMethod(String reader, ReaderCollectPaymentMethodParams params) throws StripeException Initiates a payment flow on a Reader and updates the PaymentIntent with card details before manual confirmation. See Collecting a Payment method for more details.- Throws:
StripeException
-
collectPaymentMethod
public Reader collectPaymentMethod(String reader, ReaderCollectPaymentMethodParams params, RequestOptions options) throws StripeException Initiates a payment flow on a Reader and updates the PaymentIntent with card details before manual confirmation. See Collecting a Payment method for more details.- Throws:
StripeException
-
confirmPaymentIntent
public Reader confirmPaymentIntent(String reader, ReaderConfirmPaymentIntentParams params) throws StripeException Finalizes a payment on a Reader. See Confirming a Payment for more details.- Throws:
StripeException
-
confirmPaymentIntent
public Reader confirmPaymentIntent(String reader, ReaderConfirmPaymentIntentParams params, RequestOptions options) throws StripeException Finalizes a payment on a Reader. See Confirming a Payment for more details.- Throws:
StripeException
-
processPaymentIntent
public Reader processPaymentIntent(String reader, ReaderProcessPaymentIntentParams params) throws StripeException Initiates a payment flow on a Reader. See process the payment for more details.- Throws:
StripeException
-
processPaymentIntent
public Reader processPaymentIntent(String reader, ReaderProcessPaymentIntentParams params, RequestOptions options) throws StripeException Initiates a payment flow on a Reader. See process the payment for more details.- Throws:
StripeException
-
processSetupIntent
public Reader processSetupIntent(String reader, ReaderProcessSetupIntentParams params) throws StripeException Initiates a SetupIntent flow on a Reader. See Save directly without charging for more details.- Throws:
StripeException
-
processSetupIntent
public Reader processSetupIntent(String reader, ReaderProcessSetupIntentParams params, RequestOptions options) throws StripeException Initiates a SetupIntent flow on a Reader. See Save directly without charging for more details.- Throws:
StripeException
-
refundPayment
Initiates an in-person refund on a Reader. See Refund an Interac Payment for more details.- Throws:
StripeException
-
refundPayment
Initiates an in-person refund on a Reader. See Refund an Interac Payment for more details.- Throws:
StripeException
-
refundPayment
Initiates an in-person refund on a Reader. See Refund an Interac Payment for more details.- Throws:
StripeException
-
refundPayment
public Reader refundPayment(String reader, ReaderRefundPaymentParams params, RequestOptions options) throws StripeException Initiates an in-person refund on a Reader. See Refund an Interac Payment for more details.- Throws:
StripeException
-
setReaderDisplay
public Reader setReaderDisplay(String reader, ReaderSetReaderDisplayParams params) throws StripeException Sets the reader display to show cart details.- Throws:
StripeException
-
setReaderDisplay
public Reader setReaderDisplay(String reader, ReaderSetReaderDisplayParams params, RequestOptions options) throws StripeException Sets the reader display to show cart details.- Throws:
StripeException
-