| Package | Description |
|---|---|
| com.cybersource.payments | |
| com.cybersource.payments.api |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
ApiClient.deserialize(com.sun.jersey.api.client.ClientResponse response,
TypeRef returnType)
Deserialize response body to Java object according to the Content-Type.
|
<T> T |
JSON.deserialize(String body,
TypeRef returnType)
Deserialize the given JSON string to Java object.
|
<T> T |
ApiClient.invokeAPI(String path,
String method,
List<Pair> queryParams,
Object body,
Map<String,String> headerParams,
Map<String,Object> formParams,
String accept,
String contentType,
TypeRef returnType)
Invoke API by sending HTTP request with the given options.
|
String |
JSON.serialize(Object obj)
Serialize the given Java object into JSON string.
|
String |
ApiClient.serialize(Object obj,
String contentType)
Serialize the given Java object into string according the given
Content-Type (only JSON is supported for now).
|
| Modifier and Type | Method and Description |
|---|---|
Capture |
CapturesApi.captureAuthorization(String id,
CaptureRequest request)
Capture a payment authorization.
|
Authorization |
AuthorizationsApi.createAuthorization(AuthCaptureRequest request)
Create an authorized payment.
|
Credit |
CreditsApi.createCredit(CreditRequest request)
Post a credit.
|
Sale |
SalesApi.createSale(AuthCaptureRequest request)
Perform a sale.
|
GetAuthorization |
AuthorizationsApi.getAuthorization(String id)
Search for a specific authorization.
|
CaptureCollection |
CapturesApi.getAuthorizationCaptures(String id,
Integer offset,
Integer limit)
Search for all captures.
|
AuthorizationCollection |
AuthorizationsApi.getAuthorizations(Integer offset,
Integer limit)
Retrieve a list of all authorizations.
|
ReversedAuthorization |
ReversalsApi.getAuthReversal(String id)
Retrieve a reversed authorization
Retrieve a reversed authorization by id
|
GetCapture |
CapturesApi.getCapture(String id)
Search for a specific capture.
|
List<RefundCollection> |
RefundsApi.getCaptureRefunds(String captureId,
Integer offset,
Integer limit)
Lists refunds for a capture.
|
CaptureCollection |
CapturesApi.getCaptures(Integer offset,
Integer limit)
Search for all captures.
|
GetCredit |
CreditsApi.getCredit(String id)
Retrieve a credit.
|
CreditCollection |
CreditsApi.getCredits(Integer offset,
Integer limit)
Retrieve all credits.
|
ErrorResource |
PaymentsApi.getError(String id)
Get error Details.
|
Transaction |
PaymentsApi.getPayment(String id)
Get submitted authorizations, sales, captures, or refunds.
|
GetRefund |
RefundsApi.getRefund(String id)
Retrieve a refund.
|
RefundCollection |
RefundsApi.getRefunds(Integer offset,
Integer limit)
List refunds.
|
GetSale |
SalesApi.getSale(String id)
Search for a sale.
|
RefundCollection |
RefundsApi.getSaleRefunds(String saleId,
Integer offset,
Integer limit)
List refunds for a sale.
|
SaleCollection |
SalesApi.getSales(Integer offset,
Integer limit)
Search for all sales.
|
Void |
VoidsApi.getVoid(String id)
Retrieve a void by specifying the void ID.
|
Refund |
RefundsApi.refundCapture(String id,
RefundRequest request)
Refund a captured payment.
|
Refund |
RefundsApi.refundSale(String id,
RefundRequest request)
Refund a sale payment.
|
ReversedAuthorization |
ReversalsApi.reverseAuthorization(String id,
ReverseAuthRequest request)
Reverse a payment authorization
Reverse a payment authorization given an id
|
TransactionSearchCollection |
PaymentsApi.searchPayment(TransactionSearchRequest request,
Integer offset,
Integer limit)
Transaction Search.
|
Void |
VoidsApi.voidCapture(String id,
VoidRequest request)
Void a particular captured transaction by specifying the capture ID.
|
Void |
VoidsApi.voidCredit(String id,
VoidRequest request)
Void a credit.
|
Void |
VoidsApi.voidRefund(String id,
VoidRequest request)
Void a refund transaction.
|
Void |
VoidsApi.voidSale(String id,
VoidRequest request)
Void a particular sale transaction by specifying the sale ID.
|
Copyright © 2016. All Rights Reserved.