Package com.adyen.service
Class PaymentApi
- java.lang.Object
-
- com.adyen.Service
-
- com.adyen.service.PaymentApi
-
@Deprecated(since="v37.0.0", forRemoval=true) public class PaymentApi extends Service
Deprecated, for removal: This API element is subject to removal in a future version.Use instead PaymentsApi and ModificationsApi in the com.adyen.service.payment packageThis class is deprecated and NO LONGER updated
-
-
Field Summary
Fields Modifier and Type Field Description static StringAPI_VERSIONDeprecated, for removal: This API element is subject to removal in a future version.protected StringbaseURLDeprecated, for removal: This API element is subject to removal in a future version.
-
Constructor Summary
Constructors Constructor Description PaymentApi(Client client)Deprecated, for removal: This API element is subject to removal in a future version.PaymentApi(Client client, String baseURL)Deprecated, for removal: This API element is subject to removal in a future version.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ModificationResultadjustAuthorisation(AdjustAuthorisationRequest adjustAuthorisationRequest)Deprecated, for removal: This API element is subject to removal in a future version.ModificationResultadjustAuthorisation(AdjustAuthorisationRequest adjustAuthorisationRequest, RequestOptions requestOptions)Deprecated, for removal: This API element is subject to removal in a future version.PaymentResultauthorise(PaymentRequest paymentRequest)Deprecated, for removal: This API element is subject to removal in a future version.PaymentResultauthorise(PaymentRequest paymentRequest, RequestOptions requestOptions)Deprecated, for removal: This API element is subject to removal in a future version.PaymentResultauthorise3d(PaymentRequest3d paymentRequest3d)Deprecated, for removal: This API element is subject to removal in a future version.PaymentResultauthorise3d(PaymentRequest3d paymentRequest3d, RequestOptions requestOptions)Deprecated, for removal: This API element is subject to removal in a future version.PaymentResultauthorise3ds2(PaymentRequest3ds2 paymentRequest3ds2)Deprecated, for removal: This API element is subject to removal in a future version.PaymentResultauthorise3ds2(PaymentRequest3ds2 paymentRequest3ds2, RequestOptions requestOptions)Deprecated, for removal: This API element is subject to removal in a future version.ModificationResultcancel(CancelRequest cancelRequest)Deprecated, for removal: This API element is subject to removal in a future version.ModificationResultcancel(CancelRequest cancelRequest, RequestOptions requestOptions)Deprecated, for removal: This API element is subject to removal in a future version.ModificationResultcancelOrRefund(CancelOrRefundRequest cancelOrRefundRequest)Deprecated, for removal: This API element is subject to removal in a future version.ModificationResultcancelOrRefund(CancelOrRefundRequest cancelOrRefundRequest, RequestOptions requestOptions)Deprecated, for removal: This API element is subject to removal in a future version.ModificationResultcapture(CaptureRequest captureRequest)Deprecated, for removal: This API element is subject to removal in a future version.ModificationResultcapture(CaptureRequest captureRequest, RequestOptions requestOptions)Deprecated, for removal: This API element is subject to removal in a future version.ModificationResultdonate(DonationRequest donationRequest)Deprecated.// Use Checkout donations insteadModificationResultdonate(DonationRequest donationRequest, RequestOptions requestOptions)Deprecated.// Use Checkout donations insteadAuthenticationResultResponsegetAuthenticationResult(AuthenticationResultRequest authenticationResultRequest)Deprecated, for removal: This API element is subject to removal in a future version.AuthenticationResultResponsegetAuthenticationResult(AuthenticationResultRequest authenticationResultRequest, RequestOptions requestOptions)Deprecated, for removal: This API element is subject to removal in a future version.ModificationResultrefund(RefundRequest refundRequest)Deprecated, for removal: This API element is subject to removal in a future version.ModificationResultrefund(RefundRequest refundRequest, RequestOptions requestOptions)Deprecated, for removal: This API element is subject to removal in a future version.ThreeDS2ResultResponseretrieve3ds2Result(ThreeDS2ResultRequest threeDS2ResultRequest)Deprecated, for removal: This API element is subject to removal in a future version.ThreeDS2ResultResponseretrieve3ds2Result(ThreeDS2ResultRequest threeDS2ResultRequest, RequestOptions requestOptions)Deprecated, for removal: This API element is subject to removal in a future version.ModificationResulttechnicalCancel(TechnicalCancelRequest technicalCancelRequest)Deprecated, for removal: This API element is subject to removal in a future version.ModificationResulttechnicalCancel(TechnicalCancelRequest technicalCancelRequest, RequestOptions requestOptions)Deprecated, for removal: This API element is subject to removal in a future version.ModificationResultvoidPendingRefund(VoidPendingRefundRequest voidPendingRefundRequest)Deprecated, for removal: This API element is subject to removal in a future version.ModificationResultvoidPendingRefund(VoidPendingRefundRequest voidPendingRefundRequest, RequestOptions requestOptions)Deprecated, for removal: This API element is subject to removal in a future version.-
Methods inherited from class com.adyen.Service
createBaseURL, getClient, isApiKeyRequired, setApiKeyRequired, setClient
-
-
-
-
Field Detail
-
API_VERSION
public static final String API_VERSION
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
- Constant Field Values
-
baseURL
protected String baseURL
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Constructor Detail
-
PaymentApi
@Deprecated(since="v37.0.0", forRemoval=true) public PaymentApi(Client client)
Deprecated, for removal: This API element is subject to removal in a future version.Default constructor inpackage.- Parameters:
client-Client(required)
-
PaymentApi
@Deprecated(since="v37.0.0", forRemoval=true) public PaymentApi(Client client, String baseURL)
Deprecated, for removal: This API element is subject to removal in a future version.Alternative constructor inpackage. Please use this constructor only if you would like to pass along your own url for routing or testing purposes. The latest API version is defined in this class as a constant.
-
-
Method Detail
-
adjustAuthorisation
@Deprecated(since="v37.0.0", forRemoval=true) public ModificationResult adjustAuthorisation(AdjustAuthorisationRequest adjustAuthorisationRequest) throws ApiException, IOException
Deprecated, for removal: This API element is subject to removal in a future version.Change the authorised amount- Parameters:
adjustAuthorisationRequest-AdjustAuthorisationRequest(required)- Returns:
ModificationResult- Throws:
ApiException- if fails to make API callIOException
-
adjustAuthorisation
@Deprecated(since="v37.0.0", forRemoval=true) public ModificationResult adjustAuthorisation(AdjustAuthorisationRequest adjustAuthorisationRequest, RequestOptions requestOptions) throws ApiException, IOException
Deprecated, for removal: This API element is subject to removal in a future version.Change the authorised amount- Parameters:
adjustAuthorisationRequest-AdjustAuthorisationRequest(required)requestOptions-RequestOptionsObject to store additional data such as idempotency-keys (optional)- Returns:
ModificationResult- Throws:
ApiException- if fails to make API callIOException
-
authorise
@Deprecated(since="v37.0.0", forRemoval=true) public PaymentResult authorise(PaymentRequest paymentRequest) throws ApiException, IOException
Deprecated, for removal: This API element is subject to removal in a future version.Create an authorisation- Parameters:
paymentRequest-PaymentRequest(required)- Returns:
PaymentResult- Throws:
ApiException- if fails to make API callIOException
-
authorise
@Deprecated(since="v37.0.0", forRemoval=true) public PaymentResult authorise(PaymentRequest paymentRequest, RequestOptions requestOptions) throws ApiException, IOException
Deprecated, for removal: This API element is subject to removal in a future version.Create an authorisation- Parameters:
paymentRequest-PaymentRequest(required)requestOptions-RequestOptionsObject to store additional data such as idempotency-keys (optional)- Returns:
PaymentResult- Throws:
ApiException- if fails to make API callIOException
-
authorise3d
@Deprecated(since="v37.0.0", forRemoval=true) public PaymentResult authorise3d(PaymentRequest3d paymentRequest3d) throws ApiException, IOException
Deprecated, for removal: This API element is subject to removal in a future version.Complete a 3DS authorisation- Parameters:
paymentRequest3d-PaymentRequest3d(required)- Returns:
PaymentResult- Throws:
ApiException- if fails to make API callIOException
-
authorise3d
@Deprecated(since="v37.0.0", forRemoval=true) public PaymentResult authorise3d(PaymentRequest3d paymentRequest3d, RequestOptions requestOptions) throws ApiException, IOException
Deprecated, for removal: This API element is subject to removal in a future version.Complete a 3DS authorisation- Parameters:
paymentRequest3d-PaymentRequest3d(required)requestOptions-RequestOptionsObject to store additional data such as idempotency-keys (optional)- Returns:
PaymentResult- Throws:
ApiException- if fails to make API callIOException
-
authorise3ds2
@Deprecated(since="v37.0.0", forRemoval=true) public PaymentResult authorise3ds2(PaymentRequest3ds2 paymentRequest3ds2) throws ApiException, IOException
Deprecated, for removal: This API element is subject to removal in a future version.Complete a 3DS2 authorisation- Parameters:
paymentRequest3ds2-PaymentRequest3ds2(required)- Returns:
PaymentResult- Throws:
ApiException- if fails to make API callIOException
-
authorise3ds2
@Deprecated(since="v37.0.0", forRemoval=true) public PaymentResult authorise3ds2(PaymentRequest3ds2 paymentRequest3ds2, RequestOptions requestOptions) throws ApiException, IOException
Deprecated, for removal: This API element is subject to removal in a future version.Complete a 3DS2 authorisation- Parameters:
paymentRequest3ds2-PaymentRequest3ds2(required)requestOptions-RequestOptionsObject to store additional data such as idempotency-keys (optional)- Returns:
PaymentResult- Throws:
ApiException- if fails to make API callIOException
-
cancel
@Deprecated(since="v37.0.0", forRemoval=true) public ModificationResult cancel(CancelRequest cancelRequest) throws ApiException, IOException
Deprecated, for removal: This API element is subject to removal in a future version.Cancel an authorisation- Parameters:
cancelRequest-CancelRequest(required)- Returns:
ModificationResult- Throws:
ApiException- if fails to make API callIOException
-
cancel
@Deprecated(since="v37.0.0", forRemoval=true) public ModificationResult cancel(CancelRequest cancelRequest, RequestOptions requestOptions) throws ApiException, IOException
Deprecated, for removal: This API element is subject to removal in a future version.Cancel an authorisation- Parameters:
cancelRequest-CancelRequest(required)requestOptions-RequestOptionsObject to store additional data such as idempotency-keys (optional)- Returns:
ModificationResult- Throws:
ApiException- if fails to make API callIOException
-
cancelOrRefund
@Deprecated(since="v37.0.0", forRemoval=true) public ModificationResult cancelOrRefund(CancelOrRefundRequest cancelOrRefundRequest) throws ApiException, IOException
Deprecated, for removal: This API element is subject to removal in a future version.Cancel or refund a payment- Parameters:
cancelOrRefundRequest-CancelOrRefundRequest(required)- Returns:
ModificationResult- Throws:
ApiException- if fails to make API callIOException
-
cancelOrRefund
@Deprecated(since="v37.0.0", forRemoval=true) public ModificationResult cancelOrRefund(CancelOrRefundRequest cancelOrRefundRequest, RequestOptions requestOptions) throws ApiException, IOException
Deprecated, for removal: This API element is subject to removal in a future version.Cancel or refund a payment- Parameters:
cancelOrRefundRequest-CancelOrRefundRequest(required)requestOptions-RequestOptionsObject to store additional data such as idempotency-keys (optional)- Returns:
ModificationResult- Throws:
ApiException- if fails to make API callIOException
-
capture
@Deprecated(since="v37.0.0", forRemoval=true) public ModificationResult capture(CaptureRequest captureRequest) throws ApiException, IOException
Deprecated, for removal: This API element is subject to removal in a future version.Capture an authorisation- Parameters:
captureRequest-CaptureRequest(required)- Returns:
ModificationResult- Throws:
ApiException- if fails to make API callIOException
-
capture
@Deprecated(since="v37.0.0", forRemoval=true) public ModificationResult capture(CaptureRequest captureRequest, RequestOptions requestOptions) throws ApiException, IOException
Deprecated, for removal: This API element is subject to removal in a future version.Capture an authorisation- Parameters:
captureRequest-CaptureRequest(required)requestOptions-RequestOptionsObject to store additional data such as idempotency-keys (optional)- Returns:
ModificationResult- Throws:
ApiException- if fails to make API callIOException
-
donate
@Deprecated public ModificationResult donate(DonationRequest donationRequest) throws ApiException, IOException
Deprecated.// Use Checkout donations insteadCreate a donation- Parameters:
donationRequest-DonationRequest(required)- Returns:
ModificationResult- Throws:
ApiException- if fails to make API callIOException
-
donate
@Deprecated public ModificationResult donate(DonationRequest donationRequest, RequestOptions requestOptions) throws ApiException, IOException
Deprecated.// Use Checkout donations insteadCreate a donation- Parameters:
donationRequest-DonationRequest(required)requestOptions-RequestOptionsObject to store additional data such as idempotency-keys (optional)- Returns:
ModificationResult- Throws:
ApiException- if fails to make API callIOException
-
getAuthenticationResult
@Deprecated(since="v37.0.0", forRemoval=true) public AuthenticationResultResponse getAuthenticationResult(AuthenticationResultRequest authenticationResultRequest) throws ApiException, IOException
Deprecated, for removal: This API element is subject to removal in a future version.Get the 3DS authentication result- Parameters:
authenticationResultRequest-AuthenticationResultRequest(required)- Returns:
AuthenticationResultResponse- Throws:
ApiException- if fails to make API callIOException
-
getAuthenticationResult
@Deprecated(since="v37.0.0", forRemoval=true) public AuthenticationResultResponse getAuthenticationResult(AuthenticationResultRequest authenticationResultRequest, RequestOptions requestOptions) throws ApiException, IOException
Deprecated, for removal: This API element is subject to removal in a future version.Get the 3DS authentication result- Parameters:
authenticationResultRequest-AuthenticationResultRequest(required)requestOptions-RequestOptionsObject to store additional data such as idempotency-keys (optional)- Returns:
AuthenticationResultResponse- Throws:
ApiException- if fails to make API callIOException
-
refund
@Deprecated(since="v37.0.0", forRemoval=true) public ModificationResult refund(RefundRequest refundRequest) throws ApiException, IOException
Deprecated, for removal: This API element is subject to removal in a future version.Refund a captured payment- Parameters:
refundRequest-RefundRequest(required)- Returns:
ModificationResult- Throws:
ApiException- if fails to make API callIOException
-
refund
@Deprecated(since="v37.0.0", forRemoval=true) public ModificationResult refund(RefundRequest refundRequest, RequestOptions requestOptions) throws ApiException, IOException
Deprecated, for removal: This API element is subject to removal in a future version.Refund a captured payment- Parameters:
refundRequest-RefundRequest(required)requestOptions-RequestOptionsObject to store additional data such as idempotency-keys (optional)- Returns:
ModificationResult- Throws:
ApiException- if fails to make API callIOException
-
retrieve3ds2Result
@Deprecated(since="v37.0.0", forRemoval=true) public ThreeDS2ResultResponse retrieve3ds2Result(ThreeDS2ResultRequest threeDS2ResultRequest) throws ApiException, IOException
Deprecated, for removal: This API element is subject to removal in a future version.Get the 3DS2 authentication result- Parameters:
threeDS2ResultRequest-ThreeDS2ResultRequest(required)- Returns:
ThreeDS2ResultResponse- Throws:
ApiException- if fails to make API callIOException
-
retrieve3ds2Result
@Deprecated(since="v37.0.0", forRemoval=true) public ThreeDS2ResultResponse retrieve3ds2Result(ThreeDS2ResultRequest threeDS2ResultRequest, RequestOptions requestOptions) throws ApiException, IOException
Deprecated, for removal: This API element is subject to removal in a future version.Get the 3DS2 authentication result- Parameters:
threeDS2ResultRequest-ThreeDS2ResultRequest(required)requestOptions-RequestOptionsObject to store additional data such as idempotency-keys (optional)- Returns:
ThreeDS2ResultResponse- Throws:
ApiException- if fails to make API callIOException
-
technicalCancel
@Deprecated(since="v37.0.0", forRemoval=true) public ModificationResult technicalCancel(TechnicalCancelRequest technicalCancelRequest) throws ApiException, IOException
Deprecated, for removal: This API element is subject to removal in a future version.Cancel an authorisation using your reference- Parameters:
technicalCancelRequest-TechnicalCancelRequest(required)- Returns:
ModificationResult- Throws:
ApiException- if fails to make API callIOException
-
technicalCancel
@Deprecated(since="v37.0.0", forRemoval=true) public ModificationResult technicalCancel(TechnicalCancelRequest technicalCancelRequest, RequestOptions requestOptions) throws ApiException, IOException
Deprecated, for removal: This API element is subject to removal in a future version.Cancel an authorisation using your reference- Parameters:
technicalCancelRequest-TechnicalCancelRequest(required)requestOptions-RequestOptionsObject to store additional data such as idempotency-keys (optional)- Returns:
ModificationResult- Throws:
ApiException- if fails to make API callIOException
-
voidPendingRefund
@Deprecated(since="v37.0.0", forRemoval=true) public ModificationResult voidPendingRefund(VoidPendingRefundRequest voidPendingRefundRequest) throws ApiException, IOException
Deprecated, for removal: This API element is subject to removal in a future version.Cancel an in-person refund- Parameters:
voidPendingRefundRequest-VoidPendingRefundRequest(required)- Returns:
ModificationResult- Throws:
ApiException- if fails to make API callIOException
-
voidPendingRefund
@Deprecated(since="v37.0.0", forRemoval=true) public ModificationResult voidPendingRefund(VoidPendingRefundRequest voidPendingRefundRequest, RequestOptions requestOptions) throws ApiException, IOException
Deprecated, for removal: This API element is subject to removal in a future version.Cancel an in-person refund- Parameters:
voidPendingRefundRequest-VoidPendingRefundRequest(required)requestOptions-RequestOptionsObject to store additional data such as idempotency-keys (optional)- Returns:
ModificationResult- Throws:
ApiException- if fails to make API callIOException
-
-