| Package | Description |
|---|---|
| Api | |
| Invokers |
| Modifier and Type | Method and Description |
|---|---|
InlineResponse2011 |
ReversalApi.authReversal(String id,
AuthReversalRequest authReversalRequest)
Process an Authorization Reversal
Include the payment ID in the POST request to reverse the payment amount.
|
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 |
ReversalApi.authReversalCall(String id,
AuthReversalRequest authReversalRequest,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for authReversal
|
ApiResponse<InlineResponse2011> |
ReversalApi.authReversalWithHttpInfo(String id,
AuthReversalRequest authReversalRequest)
Process an Authorization Reversal
Include the payment ID in the POST request to reverse the payment amount.
|
InlineResponse2012 |
CaptureApi.capturePayment(CapturePaymentRequest capturePaymentRequest,
String id)
Capture a Payment
Include the payment ID in the POST request to capture 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 |
CaptureApi.capturePaymentCall(CapturePaymentRequest capturePaymentRequest,
String id,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for capturePayment
|
ApiResponse<InlineResponse2012> |
CaptureApi.capturePaymentWithHttpInfo(CapturePaymentRequest capturePaymentRequest,
String id)
Capture a Payment
Include the payment ID in the POST request to capture the payment amount.
|
InlineResponse2014 |
CreditApi.createCredit(CreateCreditRequest createCreditRequest)
Process a Credit
POST to the credit resource to credit funds to a specified credit card.
|
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 |
CreditApi.createCreditCall(CreateCreditRequest createCreditRequest,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for createCredit
|
ApiResponse<InlineResponse2014> |
CreditApi.createCreditWithHttpInfo(CreateCreditRequest createCreditRequest)
Process a Credit
POST to the credit resource to credit funds to a specified credit card.
|
InlineResponse201 |
PaymentApi.createPayment(CreatePaymentRequest createPaymentRequest)
Process a Payment
Authorize the payment for the transaction.
|
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 |
PaymentApi.createPaymentCall(CreatePaymentRequest createPaymentRequest,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for createPayment
|
ApiResponse<InlineResponse201> |
PaymentApi.createPaymentWithHttpInfo(CreatePaymentRequest createPaymentRequest)
Process a Payment
Authorize the payment for the transaction.
|
InlineResponse200 |
KeyGenerationApi.generatePublicKey(GeneratePublicKeyRequest generatePublicKeyRequest)
Generate Key
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 |
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 |
KeyGenerationApi.generatePublicKeyCall(GeneratePublicKeyRequest generatePublicKeyRequest,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for generatePublicKey
|
ApiResponse<InlineResponse200> |
KeyGenerationApi.generatePublicKeyWithHttpInfo(GeneratePublicKeyRequest generatePublicKeyRequest)
Generate Key
Generate a one-time use public key and key ID to encrypt the card number in the follow-on Tokenize Card request.
|
InlineResponse2003 |
ReversalApi.getAuthReversal(String id)
Retrieve an Authorization Reversal
Include the authorization reversal ID in the GET request to retrieve the authorization reversal details.
|
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 |
ReversalApi.getAuthReversalCall(String id,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getAuthReversal
|
ApiResponse<InlineResponse2003> |
ReversalApi.getAuthReversalWithHttpInfo(String id)
Retrieve an Authorization Reversal
Include the authorization reversal ID in the GET request to retrieve the authorization reversal details.
|
InlineResponse2004 |
CaptureApi.getCapture(String id)
Retrieve a Capture
Include the capture ID in the GET request to retrieve the capture 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 |
CaptureApi.getCaptureCall(String id,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getCapture
|
ApiResponse<InlineResponse2004> |
CaptureApi.getCaptureWithHttpInfo(String id)
Retrieve a Capture
Include the capture ID in the GET request to retrieve the capture details.
|
InlineResponse2006 |
CreditApi.getCredit(String id)
Retrieve a Credit
Include the credit ID in the GET request to return details of the credit.
|
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 |
CreditApi.getCreditCall(String id,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getCredit
|
ApiResponse<InlineResponse2006> |
CreditApi.getCreditWithHttpInfo(String id)
Retrieve a Credit
Include the credit ID in the GET request to return details of the credit.
|
InlineResponse2002 |
PaymentApi.getPayment(String id)
Retrieve a Payment
Include the payment ID in the GET request to retrieve the payment details.
|
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 |
PaymentApi.getPaymentCall(String id,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getPayment
|
ApiResponse<InlineResponse2002> |
PaymentApi.getPaymentWithHttpInfo(String id)
Retrieve a Payment
Include the payment ID in the GET request to retrieve the payment details.
|
InlineResponse2005 |
RefundApi.getRefund(String id)
Retrieve a Refund
Include the refund ID in the GET request to to retrieve the refund 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 |
RefundApi.getRefundCall(String id,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getRefund
|
ApiResponse<InlineResponse2005> |
RefundApi.getRefundWithHttpInfo(String id)
Retrieve a Refund
Include the refund ID in the GET request to to retrieve the refund details.
|
InlineResponse2015 |
VoidApi.getVoid(String id)
Retrieve A Void
Include the void ID in the GET request to retrieve the void 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 |
VoidApi.getVoidCall(String id,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getVoid
|
ApiResponse<InlineResponse2015> |
VoidApi.getVoidWithHttpInfo(String id)
Retrieve A Void
Include the void ID in the GET request to retrieve the void details.
|
InlineResponse2007 |
InstrumentIdentifierApi.instrumentidentifiersPost(String profileId,
Body body)
Create an Instrument Identifier
|
com.squareup.okhttp.Call |
InstrumentIdentifierApi.instrumentidentifiersPostAsync(String profileId,
Body body,
ApiCallback<InlineResponse2007> callback)
Create an Instrument Identifier (asynchronously)
|
com.squareup.okhttp.Call |
InstrumentIdentifierApi.instrumentidentifiersPostCall(String profileId,
Body body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for instrumentidentifiersPost
|
ApiResponse<InlineResponse2007> |
InstrumentIdentifierApi.instrumentidentifiersPostWithHttpInfo(String profileId,
Body body)
Create an Instrument Identifier
|
void |
InstrumentIdentifierApi.instrumentidentifiersTokenIdDelete(String profileId,
String tokenId)
Delete an Instrument Identifier
|
com.squareup.okhttp.Call |
InstrumentIdentifierApi.instrumentidentifiersTokenIdDeleteAsync(String profileId,
String tokenId,
ApiCallback<Void> callback)
Delete an Instrument Identifier (asynchronously)
|
com.squareup.okhttp.Call |
InstrumentIdentifierApi.instrumentidentifiersTokenIdDeleteCall(String profileId,
String tokenId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for instrumentidentifiersTokenIdDelete
|
ApiResponse<Void> |
InstrumentIdentifierApi.instrumentidentifiersTokenIdDeleteWithHttpInfo(String profileId,
String tokenId)
Delete an Instrument Identifier
|
InlineResponse2007 |
InstrumentIdentifierApi.instrumentidentifiersTokenIdGet(String profileId,
String tokenId)
Retrieve an Instrument Identifier
|
com.squareup.okhttp.Call |
InstrumentIdentifierApi.instrumentidentifiersTokenIdGetAsync(String profileId,
String tokenId,
ApiCallback<InlineResponse2007> callback)
Retrieve an Instrument Identifier (asynchronously)
|
com.squareup.okhttp.Call |
InstrumentIdentifierApi.instrumentidentifiersTokenIdGetCall(String profileId,
String tokenId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for instrumentidentifiersTokenIdGet
|
ApiResponse<InlineResponse2007> |
InstrumentIdentifierApi.instrumentidentifiersTokenIdGetWithHttpInfo(String profileId,
String tokenId)
Retrieve an Instrument Identifier
|
InlineResponse2007 |
InstrumentIdentifierApi.instrumentidentifiersTokenIdPatch(String profileId,
String tokenId,
Body1 body)
Update a Instrument Identifier
|
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.instrumentidentifiersTokenIdPatchCall(String profileId,
String tokenId,
Body1 body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for instrumentidentifiersTokenIdPatch
|
ApiResponse<InlineResponse2007> |
InstrumentIdentifierApi.instrumentidentifiersTokenIdPatchWithHttpInfo(String profileId,
String tokenId,
Body1 body)
Update a Instrument Identifier
|
InlineResponse2008 |
InstrumentIdentifierApi.instrumentidentifiersTokenIdPaymentinstrumentsGet(String profileId,
String tokenId,
String offset,
String limit)
Retrieve all Payment Instruments associated with an Instrument Identifier
|
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 |
InstrumentIdentifierApi.instrumentidentifiersTokenIdPaymentinstrumentsGetCall(String profileId,
String tokenId,
String offset,
String limit,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for instrumentidentifiersTokenIdPaymentinstrumentsGet
|
ApiResponse<InlineResponse2008> |
InstrumentIdentifierApi.instrumentidentifiersTokenIdPaymentinstrumentsGetWithHttpInfo(String profileId,
String tokenId,
String offset,
String limit)
Retrieve all Payment Instruments associated with an Instrument Identifier
|
void |
DefaultApi.octCreatePayment(OctCreatePaymentRequest octCreatePaymentRequest)
Process a Payout
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 |
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 |
DefaultApi.octCreatePaymentCall(OctCreatePaymentRequest octCreatePaymentRequest,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for octCreatePayment
|
ApiResponse<Void> |
DefaultApi.octCreatePaymentWithHttpInfo(OctCreatePaymentRequest octCreatePaymentRequest)
Process a Payout
Send funds from a selected funding source to a designated credit/debit card account or a prepaid card using an Original Credit Transaction (OCT).
|
InlineResponse2016 |
PaymentInstrumentApi.paymentinstrumentsPost(String profileId,
Body2 body)
Create a Payment Instrument
|
com.squareup.okhttp.Call |
PaymentInstrumentApi.paymentinstrumentsPostAsync(String profileId,
Body2 body,
ApiCallback<InlineResponse2016> callback)
Create a Payment Instrument (asynchronously)
|
com.squareup.okhttp.Call |
PaymentInstrumentApi.paymentinstrumentsPostCall(String profileId,
Body2 body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for paymentinstrumentsPost
|
ApiResponse<InlineResponse2016> |
PaymentInstrumentApi.paymentinstrumentsPostWithHttpInfo(String profileId,
Body2 body)
Create a Payment Instrument
|
void |
PaymentInstrumentApi.paymentinstrumentsTokenIdDelete(String profileId,
String tokenId)
Delete a Payment Instrument
|
com.squareup.okhttp.Call |
PaymentInstrumentApi.paymentinstrumentsTokenIdDeleteAsync(String profileId,
String tokenId,
ApiCallback<Void> callback)
Delete a Payment Instrument (asynchronously)
|
com.squareup.okhttp.Call |
PaymentInstrumentApi.paymentinstrumentsTokenIdDeleteCall(String profileId,
String tokenId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for paymentinstrumentsTokenIdDelete
|
ApiResponse<Void> |
PaymentInstrumentApi.paymentinstrumentsTokenIdDeleteWithHttpInfo(String profileId,
String tokenId)
Delete a Payment Instrument
|
InlineResponse2016 |
PaymentInstrumentApi.paymentinstrumentsTokenIdGet(String profileId,
String tokenId)
Retrieve a Payment Instrument
|
com.squareup.okhttp.Call |
PaymentInstrumentApi.paymentinstrumentsTokenIdGetAsync(String profileId,
String tokenId,
ApiCallback<InlineResponse2016> callback)
Retrieve a Payment Instrument (asynchronously)
|
com.squareup.okhttp.Call |
PaymentInstrumentApi.paymentinstrumentsTokenIdGetCall(String profileId,
String tokenId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for paymentinstrumentsTokenIdGet
|
ApiResponse<InlineResponse2016> |
PaymentInstrumentApi.paymentinstrumentsTokenIdGetWithHttpInfo(String profileId,
String tokenId)
Retrieve a Payment Instrument
|
InlineResponse2016 |
PaymentInstrumentApi.paymentinstrumentsTokenIdPatch(String profileId,
String tokenId,
Body3 body)
Update a Payment Instrument
|
com.squareup.okhttp.Call |
PaymentInstrumentApi.paymentinstrumentsTokenIdPatchAsync(String profileId,
String tokenId,
Body3 body,
ApiCallback<InlineResponse2016> callback)
Update a Payment Instrument (asynchronously)
|
com.squareup.okhttp.Call |
PaymentInstrumentApi.paymentinstrumentsTokenIdPatchCall(String profileId,
String tokenId,
Body3 body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for paymentinstrumentsTokenIdPatch
|
ApiResponse<InlineResponse2016> |
PaymentInstrumentApi.paymentinstrumentsTokenIdPatchWithHttpInfo(String profileId,
String tokenId,
Body3 body)
Update a Payment Instrument
|
InlineResponse2013 |
RefundApi.refundCapture(RefundCaptureRequest refundCaptureRequest,
String id)
Refund a Capture
Include the capture ID in the POST request to refund the captured amount.
|
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.refundCaptureCall(RefundCaptureRequest refundCaptureRequest,
String id,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for refundCapture
|
ApiResponse<InlineResponse2013> |
RefundApi.refundCaptureWithHttpInfo(RefundCaptureRequest refundCaptureRequest,
String id)
Refund a Capture
Include the capture ID in the POST request to refund the captured amount.
|
InlineResponse2013 |
RefundApi.refundPayment(RefundPaymentRequest refundPaymentRequest,
String id)
Refund a Payment
Include the payment ID in the POST request to refund the payment 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 |
RefundApi.refundPaymentCall(RefundPaymentRequest refundPaymentRequest,
String id,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for refundPayment
|
ApiResponse<InlineResponse2013> |
RefundApi.refundPaymentWithHttpInfo(RefundPaymentRequest refundPaymentRequest,
String id)
Refund a Payment
Include the payment ID in the POST request to refund the payment amount.
|
InlineResponse2001 |
TokenizationApi.tokenize(TokenizeRequest tokenizeRequest)
Tokenize card
Returns a token representing the supplied card details.
|
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 |
TokenizationApi.tokenizeCall(TokenizeRequest tokenizeRequest,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for tokenize
|
ApiResponse<InlineResponse2001> |
TokenizationApi.tokenizeWithHttpInfo(TokenizeRequest tokenizeRequest)
Tokenize card
Returns a token representing the supplied card details.
|
InlineResponse2015 |
VoidApi.voidCapture(VoidCaptureRequest voidCaptureRequest,
String id)
Void a Capture
Include the capture ID in the POST request to cancel the capture.
|
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.voidCaptureCall(VoidCaptureRequest voidCaptureRequest,
String id,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for voidCapture
|
ApiResponse<InlineResponse2015> |
VoidApi.voidCaptureWithHttpInfo(VoidCaptureRequest voidCaptureRequest,
String id)
Void a Capture
Include the capture ID in the POST request to cancel the capture.
|
InlineResponse2015 |
VoidApi.voidCredit(VoidCreditRequest voidCreditRequest,
String id)
Void a Credit
Include the credit ID in the POST request to cancel the credit.
|
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.voidCreditCall(VoidCreditRequest voidCreditRequest,
String id,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for voidCredit
|
ApiResponse<InlineResponse2015> |
VoidApi.voidCreditWithHttpInfo(VoidCreditRequest voidCreditRequest,
String id)
Void a Credit
Include the credit ID in the POST request to cancel the credit.
|
InlineResponse2015 |
VoidApi.voidPayment(VoidPaymentRequest voidPaymentRequest,
String id)
Void a Payment
Include the payment ID in the POST request to cancel the payment.
|
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.voidPaymentCall(VoidPaymentRequest voidPaymentRequest,
String id,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for voidPayment
|
ApiResponse<InlineResponse2015> |
VoidApi.voidPaymentWithHttpInfo(VoidPaymentRequest voidPaymentRequest,
String id)
Void a Payment
Include the payment ID in the POST request to cancel the payment.
|
InlineResponse2015 |
VoidApi.voidRefund(VoidRefundRequest voidRefundRequest,
String id)
Void a Refund
Include the refund ID in the POST request to cancel the refund.
|
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.
|
com.squareup.okhttp.Call |
VoidApi.voidRefundCall(VoidRefundRequest voidRefundRequest,
String id,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for voidRefund
|
ApiResponse<InlineResponse2015> |
VoidApi.voidRefundWithHttpInfo(VoidRefundRequest voidRefundRequest,
String id)
Void a Refund
Include the refund ID in the POST request to cancel the refund.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ApiCallback.onFailure(ApiException e,
int statusCode,
Map<String,List<String>> responseHeaders)
This is called when the API call fails.
|
| Modifier and Type | Method and Description |
|---|---|
com.squareup.okhttp.Call |
ApiClient.buildCall(String path,
String method,
List<Pair> queryParams,
Object body,
Map<String,String> headerParams,
Map<String,Object> formParams,
String[] authNames,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build HTTP call with the given options.
|
com.squareup.okhttp.Request |
ApiClient.buildRequest(String path,
String method,
List<Pair> queryParams,
Object body,
Map<String,String> headerParams,
Map<String,Object> formParams,
String[] authNames,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build an HTTP request with the given options.
|
<T> T |
ApiClient.deserialize(com.squareup.okhttp.Response response,
Type returnType)
Deserialize response body to Java object, according to the return type
and the Content-Type response header.
|
File |
ApiClient.downloadFileFromResponse(com.squareup.okhttp.Response response)
Download file from the given response.
|
<T> ApiResponse<T> |
ApiClient.execute(com.squareup.okhttp.Call call)
|
<T> ApiResponse<T> |
ApiClient.execute(com.squareup.okhttp.Call call,
Type returnType)
Execute HTTP call and deserialize the HTTP response body into the given
return type.
|
<T> T |
ApiClient.handleResponse(com.squareup.okhttp.Response response,
Type returnType)
Handle the given response, return the deserialized object when the
response is successful.
|
com.squareup.okhttp.RequestBody |
ApiClient.serialize(Object obj,
String contentType)
Serialize the given Java object into request body according to the
object's class and the request Content-Type.
|
Copyright © 2018. All rights reserved.