public class CardProcessingService extends Object
| Constructor and Description |
|---|
CardProcessingService(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ApiClient |
getApiClient() |
Transaction |
process(Long spaceId,
Long transactionId,
Long paymentMethodConfigurationId,
AuthenticatedCardDataCreate cardData)
Process
The process method will process the transaction with the given card details without using 3-D secure.
|
Transaction |
process(Long spaceId,
Long transactionId,
Long paymentMethodConfigurationId,
AuthenticatedCardDataCreate cardData,
Map<String,Object> params)
Process
The process method will process the transaction with the given card details without using 3-D secure.
|
com.google.api.client.http.HttpResponse |
processForHttpResponse(Long spaceId,
Long transactionId,
Long paymentMethodConfigurationId,
AuthenticatedCardDataCreate cardData) |
com.google.api.client.http.HttpResponse |
processForHttpResponse(Long spaceId,
Long transactionId,
Long paymentMethodConfigurationId,
AuthenticatedCardDataCreate cardData,
Map<String,Object> params) |
com.google.api.client.http.HttpResponse |
processForHttpResponse(Long spaceId,
Long transactionId,
Long paymentMethodConfigurationId,
InputStream cardData,
String mediaType) |
String |
processWith3DSecure(Long spaceId,
Long transactionId,
Long paymentMethodConfigurationId,
TokenizedCardDataCreate cardData)
Process With 3-D Secure
The process method will process the transaction with the given card details by eventually using 3-D secure.
|
String |
processWith3DSecure(Long spaceId,
Long transactionId,
Long paymentMethodConfigurationId,
TokenizedCardDataCreate cardData,
Map<String,Object> params)
Process With 3-D Secure
The process method will process the transaction with the given card details by eventually using 3-D secure.
|
com.google.api.client.http.HttpResponse |
processWith3DSecureForHttpResponse(Long spaceId,
Long transactionId,
Long paymentMethodConfigurationId,
InputStream cardData,
String mediaType) |
com.google.api.client.http.HttpResponse |
processWith3DSecureForHttpResponse(Long spaceId,
Long transactionId,
Long paymentMethodConfigurationId,
TokenizedCardDataCreate cardData) |
com.google.api.client.http.HttpResponse |
processWith3DSecureForHttpResponse(Long spaceId,
Long transactionId,
Long paymentMethodConfigurationId,
TokenizedCardDataCreate cardData,
Map<String,Object> params) |
void |
setApiClient(ApiClient apiClient) |
public CardProcessingService(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public Transaction process(Long spaceId, Long transactionId, Long paymentMethodConfigurationId, AuthenticatedCardDataCreate cardData) throws IOException
200 - This status code indicates that a client request was successfully received, understood, and accepted.
409 - This status code indicates that there was a conflict with the current version of the data in the database and the provided data in the request.
442 - This status code indicates that the server cannot or will not process the request due to something that is perceived to be a client error.
542 - This status code indicates that the server encountered an unexpected condition that prevented it from fulfilling the client request.
spaceId - transactionId - The ID of the transaction which should be processed.paymentMethodConfigurationId - The payment method configuration ID which is applied to the transaction.cardData - The card details as JSON in plain which should be used to authorize the payment.IOException - if an error occurs while attempting to invoke the API
For more information visit this link.public Transaction process(Long spaceId, Long transactionId, Long paymentMethodConfigurationId, AuthenticatedCardDataCreate cardData, Map<String,Object> params) throws IOException
200 - This status code indicates that a client request was successfully received, understood, and accepted.
409 - This status code indicates that there was a conflict with the current version of the data in the database and the provided data in the request.
442 - This status code indicates that the server cannot or will not process the request due to something that is perceived to be a client error.
542 - This status code indicates that the server encountered an unexpected condition that prevented it from fulfilling the client request.
spaceId - transactionId - The ID of the transaction which should be processed.paymentMethodConfigurationId - The payment method configuration ID which is applied to the transaction.cardData - The card details as JSON in plain which should be used to authorize the payment.params - Map of query params. A collection will be interpreted as passing in multiple instances of the same query param.IOException - if an error occurs while attempting to invoke the API
For more information visit this link.public com.google.api.client.http.HttpResponse processForHttpResponse(Long spaceId, Long transactionId, Long paymentMethodConfigurationId, AuthenticatedCardDataCreate cardData) throws IOException
IOExceptionpublic com.google.api.client.http.HttpResponse processForHttpResponse(Long spaceId, Long transactionId, Long paymentMethodConfigurationId, InputStream cardData, String mediaType) throws IOException
IOExceptionpublic com.google.api.client.http.HttpResponse processForHttpResponse(Long spaceId, Long transactionId, Long paymentMethodConfigurationId, AuthenticatedCardDataCreate cardData, Map<String,Object> params) throws IOException
IOExceptionpublic String processWith3DSecure(Long spaceId, Long transactionId, Long paymentMethodConfigurationId, TokenizedCardDataCreate cardData) throws IOException
200 - This status code indicates that a client request was successfully received, understood, and accepted.
409 - This status code indicates that there was a conflict with the current version of the data in the database and the provided data in the request.
442 - This status code indicates that the server cannot or will not process the request due to something that is perceived to be a client error.
542 - This status code indicates that the server encountered an unexpected condition that prevented it from fulfilling the client request.
spaceId - transactionId - The ID of the transaction which should be processed.paymentMethodConfigurationId - The payment method configuration ID which is applied to the transaction.cardData - The card details as JSON in plain which should be used to authorize the payment.IOException - if an error occurs while attempting to invoke the API
For more information visit this link.public String processWith3DSecure(Long spaceId, Long transactionId, Long paymentMethodConfigurationId, TokenizedCardDataCreate cardData, Map<String,Object> params) throws IOException
200 - This status code indicates that a client request was successfully received, understood, and accepted.
409 - This status code indicates that there was a conflict with the current version of the data in the database and the provided data in the request.
442 - This status code indicates that the server cannot or will not process the request due to something that is perceived to be a client error.
542 - This status code indicates that the server encountered an unexpected condition that prevented it from fulfilling the client request.
spaceId - transactionId - The ID of the transaction which should be processed.paymentMethodConfigurationId - The payment method configuration ID which is applied to the transaction.cardData - The card details as JSON in plain which should be used to authorize the payment.params - Map of query params. A collection will be interpreted as passing in multiple instances of the same query param.IOException - if an error occurs while attempting to invoke the API
For more information visit this link.public com.google.api.client.http.HttpResponse processWith3DSecureForHttpResponse(Long spaceId, Long transactionId, Long paymentMethodConfigurationId, TokenizedCardDataCreate cardData) throws IOException
IOExceptionpublic com.google.api.client.http.HttpResponse processWith3DSecureForHttpResponse(Long spaceId, Long transactionId, Long paymentMethodConfigurationId, InputStream cardData, String mediaType) throws IOException
IOExceptionpublic com.google.api.client.http.HttpResponse processWith3DSecureForHttpResponse(Long spaceId, Long transactionId, Long paymentMethodConfigurationId, TokenizedCardDataCreate cardData, Map<String,Object> params) throws IOException
IOExceptionCopyright © 2024. All rights reserved.