Package com.adyen.service
Class Payment
- java.lang.Object
-
- com.adyen.Service
-
- com.adyen.service.Payment
-
public class Payment extends Service
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description PaymentResultauthorise(PaymentRequest paymentRequest)POST /authorise API callPaymentResultauthorise(PaymentRequest paymentRequest, RequestOptions requestOptions)PaymentResultauthorise3D(PaymentRequest3d paymentRequest3d)POST /authorise3d API callPaymentResultauthorise3DS2(PaymentRequest3ds2 paymentRequest3ds2)POST /authorise3ds2 API callAuthenticationResultResponsegetAuthenticationResult(AuthenticationResultRequest authenticationResultRequest)POST /getAuthenticationResult API callThreeDS2ResultResponseretrieve3ds2Result(ThreeDS2ResultRequest threeDS2ResultRequest)Deprecated.Use /getAuthenticationResult instead-
Methods inherited from class com.adyen.Service
getClient, isApiKeyRequired, setApiKeyRequired, setClient
-
-
-
-
Constructor Detail
-
Payment
public Payment(Client client)
-
-
Method Detail
-
authorise
public PaymentResult authorise(PaymentRequest paymentRequest) throws ApiException, IOException
POST /authorise API call- Parameters:
paymentRequest- paymentRequest- Returns:
- PaymentResult
- Throws:
ApiException- ApiExceptionIOException- IOException
-
authorise
public PaymentResult authorise(PaymentRequest paymentRequest, RequestOptions requestOptions) throws ApiException, IOException
- Throws:
ApiExceptionIOException
-
authorise3D
public PaymentResult authorise3D(PaymentRequest3d paymentRequest3d) throws Exception
POST /authorise3d API call- Parameters:
paymentRequest3d- authorise3D- Returns:
- PaymentResult
- Throws:
Exception- Exception
-
authorise3DS2
public PaymentResult authorise3DS2(PaymentRequest3ds2 paymentRequest3ds2) throws Exception
POST /authorise3ds2 API call- Parameters:
paymentRequest3ds2- PaymentRequest3ds2- Returns:
- PaymentResult
- Throws:
Exception- Exception
-
retrieve3ds2Result
@Deprecated public ThreeDS2ResultResponse retrieve3ds2Result(ThreeDS2ResultRequest threeDS2ResultRequest) throws Exception
Deprecated.Use /getAuthenticationResult insteadPOST /retrieve3ds2Result API call- Parameters:
threeDS2ResultRequest- PaymentRequest3ds2- Returns:
- PaymentResult
- Throws:
Exception- Exception
-
getAuthenticationResult
public AuthenticationResultResponse getAuthenticationResult(AuthenticationResultRequest authenticationResultRequest) throws IOException, ApiException
POST /getAuthenticationResult API call- Parameters:
authenticationResultRequest- AuthenticationResultRequest- Returns:
- AuthenticationResultResponse
- Throws:
ApiException- ApiExceptionIOException- IOException
-
-