public class PaymentLinksClient extends ApiResource implements PaymentLinksClientInterface
clientMetaInfo, communicator| Constructor and Description |
|---|
PaymentLinksClient(ApiResource parent,
Map<String,String> pathContext) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancelPaymentLinkById(String paymentLinkId)
Resource /v2/{merchantId}/paymentlinks/{paymentLinkId}/cancel
- Cancel PaymentLink by ID
|
void |
cancelPaymentLinkById(String paymentLinkId,
CallContext context)
Resource /v2/{merchantId}/paymentlinks/{paymentLinkId}/cancel
- Cancel PaymentLink by ID
|
PaymentLinkResponse |
createPaymentLink(CreatePaymentLinkRequest body)
Resource /v2/{merchantId}/paymentlinks
- Create payment link
|
PaymentLinkResponse |
createPaymentLink(CreatePaymentLinkRequest body,
CallContext context)
Resource /v2/{merchantId}/paymentlinks
- Create payment link
|
PaymentLinkResponse |
getPaymentLinkById(String paymentLinkId)
Resource /v2/{merchantId}/paymentlinks/{paymentLinkId}
- Get payment link by ID
|
PaymentLinkResponse |
getPaymentLinkById(String paymentLinkId,
CallContext context)
Resource /v2/{merchantId}/paymentlinks/{paymentLinkId}
- Get payment link by ID
|
createException, getClientHeaders, instantiateUripublic PaymentLinksClient(ApiResource parent, Map<String,String> pathContext)
public PaymentLinkResponse createPaymentLink(CreatePaymentLinkRequest body)
createPaymentLink in interface PaymentLinksClientInterfacepublic PaymentLinkResponse createPaymentLink(CreatePaymentLinkRequest body, CallContext context)
createPaymentLink in interface PaymentLinksClientInterfacepublic PaymentLinkResponse getPaymentLinkById(String paymentLinkId)
getPaymentLinkById in interface PaymentLinksClientInterfacepublic PaymentLinkResponse getPaymentLinkById(String paymentLinkId, CallContext context)
getPaymentLinkById in interface PaymentLinksClientInterfacepublic void cancelPaymentLinkById(String paymentLinkId)
cancelPaymentLinkById in interface PaymentLinksClientInterfacepublic void cancelPaymentLinkById(String paymentLinkId, CallContext context)
cancelPaymentLinkById in interface PaymentLinksClientInterfaceCopyright © 2024 Worldline Online Payments Direct. All rights reserved.