Package com.adyen.service
Class PaymentLinks
- java.lang.Object
-
- com.adyen.Service
-
- com.adyen.ApiKeyAuthenticatedService
-
- com.adyen.service.PaymentLinks
-
public class PaymentLinks extends ApiKeyAuthenticatedService
-
-
Constructor Summary
Constructors Constructor Description PaymentLinks(Client client)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PaymentLinkResourcecreate(CreatePaymentLinkRequest createPaymentLinkRequest)POST /paymentLinks API callPaymentLinkResourceretrieve(String linkId)GET /paymentLinks API callPaymentLinkResourceupdate(String linkId, UpdatePaymentLinkRequest updatePaymentLinkRequest)PATCH /paymentLinks API call-
Methods inherited from class com.adyen.Service
getClient, isApiKeyRequired, setApiKeyRequired, setClient
-
-
-
-
Constructor Detail
-
PaymentLinks
public PaymentLinks(Client client)
-
-
Method Detail
-
create
public PaymentLinkResource create(CreatePaymentLinkRequest createPaymentLinkRequest) throws ApiException, IOException
POST /paymentLinks API call- Parameters:
createPaymentLinkRequest- CreatePaymentLinkRequest- Returns:
- createPaymentLinkResponse
- Throws:
IOException- IOExceptionApiException- ApiException
-
retrieve
public PaymentLinkResource retrieve(String linkId) throws ApiException, IOException
GET /paymentLinks API call- Parameters:
linkId- String- Returns:
- PaymentLinkResource
- Throws:
IOException- IOExceptionApiException- ApiException
-
update
public PaymentLinkResource update(String linkId, UpdatePaymentLinkRequest updatePaymentLinkRequest) throws ApiException, IOException
PATCH /paymentLinks API call- Parameters:
linkId- String- Returns:
- PaymentLinkResource
- Throws:
IOException- IOExceptionApiException- ApiException
-
-