| Package | Description |
|---|---|
| Api | |
| Invokers |
| Modifier and Type | Method and Description |
|---|---|
com.squareup.okhttp.Call |
ReversalApi.authReversalAsync(String id,
AuthReversalRequest authReversalRequest,
ApiCallback<InlineResponse2011> callback)
Process an Authorization Reversal (asynchronously)
Include the payment ID in the POST request to reverse the payment amount.
|
com.squareup.okhttp.Call |
CaptureApi.capturePaymentAsync(CapturePaymentRequest capturePaymentRequest,
String id,
ApiCallback<InlineResponse2012> callback)
Capture a Payment (asynchronously)
Include the payment ID in the POST request to capture the payment amount.
|
com.squareup.okhttp.Call |
CreditApi.createCreditAsync(CreateCreditRequest createCreditRequest,
ApiCallback<InlineResponse2014> callback)
Process a Credit (asynchronously)
POST to the credit resource to credit funds to a specified credit card.
|
com.squareup.okhttp.Call |
PaymentApi.createPaymentAsync(CreatePaymentRequest createPaymentRequest,
ApiCallback<InlineResponse201> callback)
Process a Payment (asynchronously)
Authorize the payment for the transaction.
|
com.squareup.okhttp.Call |
KeyGenerationApi.generatePublicKeyAsync(GeneratePublicKeyRequest generatePublicKeyRequest,
ApiCallback<InlineResponse200> callback)
Generate Key (asynchronously)
Generate a one-time use public key and key ID to encrypt the card number in the follow-on Tokenize Card request.
|
com.squareup.okhttp.Call |
ReversalApi.getAuthReversalAsync(String id,
ApiCallback<InlineResponse2003> callback)
Retrieve an Authorization Reversal (asynchronously)
Include the authorization reversal ID in the GET request to retrieve the authorization reversal details.
|
com.squareup.okhttp.Call |
CaptureApi.getCaptureAsync(String id,
ApiCallback<InlineResponse2004> callback)
Retrieve a Capture (asynchronously)
Include the capture ID in the GET request to retrieve the capture details.
|
com.squareup.okhttp.Call |
CreditApi.getCreditAsync(String id,
ApiCallback<InlineResponse2006> callback)
Retrieve a Credit (asynchronously)
Include the credit ID in the GET request to return details of the credit.
|
com.squareup.okhttp.Call |
PaymentApi.getPaymentAsync(String id,
ApiCallback<InlineResponse2002> callback)
Retrieve a Payment (asynchronously)
Include the payment ID in the GET request to retrieve the payment details.
|
com.squareup.okhttp.Call |
RefundApi.getRefundAsync(String id,
ApiCallback<InlineResponse2005> callback)
Retrieve a Refund (asynchronously)
Include the refund ID in the GET request to to retrieve the refund details.
|
com.squareup.okhttp.Call |
VoidApi.getVoidAsync(String id,
ApiCallback<InlineResponse2015> callback)
Retrieve A Void (asynchronously)
Include the void ID in the GET request to retrieve the void details.
|
com.squareup.okhttp.Call |
InstrumentIdentifierApi.instrumentidentifiersPostAsync(String profileId,
Body body,
ApiCallback<InlineResponse2007> callback)
Create an Instrument Identifier (asynchronously)
|
com.squareup.okhttp.Call |
InstrumentIdentifierApi.instrumentidentifiersTokenIdDeleteAsync(String profileId,
String tokenId,
ApiCallback<Void> callback)
Delete an Instrument Identifier (asynchronously)
|
com.squareup.okhttp.Call |
InstrumentIdentifierApi.instrumentidentifiersTokenIdGetAsync(String profileId,
String tokenId,
ApiCallback<InlineResponse2007> callback)
Retrieve an Instrument Identifier (asynchronously)
|
com.squareup.okhttp.Call |
InstrumentIdentifierApi.instrumentidentifiersTokenIdPatchAsync(String profileId,
String tokenId,
Body1 body,
ApiCallback<InlineResponse2007> callback)
Update a Instrument Identifier (asynchronously)
|
com.squareup.okhttp.Call |
InstrumentIdentifierApi.instrumentidentifiersTokenIdPaymentinstrumentsGetAsync(String profileId,
String tokenId,
String offset,
String limit,
ApiCallback<InlineResponse2008> callback)
Retrieve all Payment Instruments associated with an Instrument Identifier (asynchronously)
|
com.squareup.okhttp.Call |
DefaultApi.octCreatePaymentAsync(OctCreatePaymentRequest octCreatePaymentRequest,
ApiCallback<Void> callback)
Process a Payout (asynchronously)
Send funds from a selected funding source to a designated credit/debit card account or a prepaid card using an Original Credit Transaction (OCT).
|
com.squareup.okhttp.Call |
PaymentInstrumentApi.paymentinstrumentsPostAsync(String profileId,
Body2 body,
ApiCallback<InlineResponse2016> callback)
Create a Payment Instrument (asynchronously)
|
com.squareup.okhttp.Call |
PaymentInstrumentApi.paymentinstrumentsTokenIdDeleteAsync(String profileId,
String tokenId,
ApiCallback<Void> callback)
Delete a Payment Instrument (asynchronously)
|
com.squareup.okhttp.Call |
PaymentInstrumentApi.paymentinstrumentsTokenIdGetAsync(String profileId,
String tokenId,
ApiCallback<InlineResponse2016> callback)
Retrieve a Payment Instrument (asynchronously)
|
com.squareup.okhttp.Call |
PaymentInstrumentApi.paymentinstrumentsTokenIdPatchAsync(String profileId,
String tokenId,
Body3 body,
ApiCallback<InlineResponse2016> callback)
Update a Payment Instrument (asynchronously)
|
com.squareup.okhttp.Call |
RefundApi.refundCaptureAsync(RefundCaptureRequest refundCaptureRequest,
String id,
ApiCallback<InlineResponse2013> callback)
Refund a Capture (asynchronously)
Include the capture ID in the POST request to refund the captured amount.
|
com.squareup.okhttp.Call |
RefundApi.refundPaymentAsync(RefundPaymentRequest refundPaymentRequest,
String id,
ApiCallback<InlineResponse2013> callback)
Refund a Payment (asynchronously)
Include the payment ID in the POST request to refund the payment amount.
|
com.squareup.okhttp.Call |
TokenizationApi.tokenizeAsync(TokenizeRequest tokenizeRequest,
ApiCallback<InlineResponse2001> callback)
Tokenize card (asynchronously)
Returns a token representing the supplied card details.
|
com.squareup.okhttp.Call |
VoidApi.voidCaptureAsync(VoidCaptureRequest voidCaptureRequest,
String id,
ApiCallback<InlineResponse2015> callback)
Void a Capture (asynchronously)
Include the capture ID in the POST request to cancel the capture.
|
com.squareup.okhttp.Call |
VoidApi.voidCreditAsync(VoidCreditRequest voidCreditRequest,
String id,
ApiCallback<InlineResponse2015> callback)
Void a Credit (asynchronously)
Include the credit ID in the POST request to cancel the credit.
|
com.squareup.okhttp.Call |
VoidApi.voidPaymentAsync(VoidPaymentRequest voidPaymentRequest,
String id,
ApiCallback<InlineResponse2015> callback)
Void a Payment (asynchronously)
Include the payment ID in the POST request to cancel the payment.
|
com.squareup.okhttp.Call |
VoidApi.voidRefundAsync(VoidRefundRequest voidRefundRequest,
String id,
ApiCallback<InlineResponse2015> callback)
Void a Refund (asynchronously)
Include the refund ID in the POST request to cancel the refund.
|
| Modifier and Type | Method and Description |
|---|---|
<T> void |
ApiClient.executeAsync(com.squareup.okhttp.Call call,
ApiCallback<T> callback)
|
<T> void |
ApiClient.executeAsync(com.squareup.okhttp.Call call,
Type returnType,
ApiCallback<T> callback)
Execute HTTP call asynchronously.
|
Copyright © 2018. All rights reserved.