public class PaymentsClient extends ApiResource implements PaymentsClientInterface
clientMetaInfo, communicator| Constructor and Description |
|---|
PaymentsClient(ApiResource parent,
Map<String,String> pathContext) |
| Modifier and Type | Method and Description |
|---|---|
CancelPaymentResponse |
cancelPayment(String paymentId)
Resource /v2/{merchantId}/payments/{paymentId}/cancel
- Cancel payment
|
CancelPaymentResponse |
cancelPayment(String paymentId,
CallContext context)
Resource /v2/{merchantId}/payments/{paymentId}/cancel
- Cancel payment
|
CancelPaymentResponse |
cancelPayment(String paymentId,
CancelPaymentRequest body)
Resource /v2/{merchantId}/payments/{paymentId}/cancel
- Cancel payment
|
CancelPaymentResponse |
cancelPayment(String paymentId,
CancelPaymentRequest body,
CallContext context)
Resource /v2/{merchantId}/payments/{paymentId}/cancel
- Cancel payment
|
CaptureResponse |
capturePayment(String paymentId,
CapturePaymentRequest body)
Resource /v2/{merchantId}/payments/{paymentId}/capture
- Capture payment
|
CaptureResponse |
capturePayment(String paymentId,
CapturePaymentRequest body,
CallContext context)
Resource /v2/{merchantId}/payments/{paymentId}/capture
- Capture payment
|
CompletePaymentResponse |
completePayment(String paymentId,
CompletePaymentRequest body)
Resource /v2/{merchantId}/payments/{paymentId}/complete
- Complete payment
|
CompletePaymentResponse |
completePayment(String paymentId,
CompletePaymentRequest body,
CallContext context)
Resource /v2/{merchantId}/payments/{paymentId}/complete
- Complete payment
|
CreatePaymentResponse |
createPayment(CreatePaymentRequest body)
Resource /v2/{merchantId}/payments
- Create payment
|
CreatePaymentResponse |
createPayment(CreatePaymentRequest body,
CallContext context)
Resource /v2/{merchantId}/payments
- Create payment
|
CapturesResponse |
getCaptures(String paymentId)
Resource /v2/{merchantId}/payments/{paymentId}/captures
- Get Captures Api
|
CapturesResponse |
getCaptures(String paymentId,
CallContext context)
Resource /v2/{merchantId}/payments/{paymentId}/captures
- Get Captures Api
|
PaymentResponse |
getPayment(String paymentId)
Resource /v2/{merchantId}/payments/{paymentId}
- Get payment
|
PaymentResponse |
getPayment(String paymentId,
CallContext context)
Resource /v2/{merchantId}/payments/{paymentId}
- Get payment
|
PaymentDetailsResponse |
getPaymentDetails(String paymentId)
Resource /v2/{merchantId}/payments/{paymentId}/details
- Get payment details
|
PaymentDetailsResponse |
getPaymentDetails(String paymentId,
CallContext context)
Resource /v2/{merchantId}/payments/{paymentId}/details
- Get payment details
|
RefundsResponse |
getRefunds(String paymentId)
Resource /v2/{merchantId}/payments/{paymentId}/refunds
- Get Refunds Api
|
RefundsResponse |
getRefunds(String paymentId,
CallContext context)
Resource /v2/{merchantId}/payments/{paymentId}/refunds
- Get Refunds Api
|
RefundResponse |
refundPayment(String paymentId,
RefundRequest body)
Resource /v2/{merchantId}/payments/{paymentId}/refund
- Refund payment
|
RefundResponse |
refundPayment(String paymentId,
RefundRequest body,
CallContext context)
Resource /v2/{merchantId}/payments/{paymentId}/refund
- Refund payment
|
SubsequentPaymentResponse |
subsequentPayment(String paymentId,
SubsequentPaymentRequest body)
Resource /v2/{merchantId}/payments/{paymentId}/subsequent
- Subsequent payment
|
SubsequentPaymentResponse |
subsequentPayment(String paymentId,
SubsequentPaymentRequest body,
CallContext context)
Resource /v2/{merchantId}/payments/{paymentId}/subsequent
- Subsequent payment
|
createException, getClientHeaders, instantiateUripublic PaymentsClient(ApiResource parent, Map<String,String> pathContext)
public CreatePaymentResponse createPayment(CreatePaymentRequest body)
createPayment in interface PaymentsClientInterfacepublic CreatePaymentResponse createPayment(CreatePaymentRequest body, CallContext context)
createPayment in interface PaymentsClientInterfacepublic PaymentResponse getPayment(String paymentId)
getPayment in interface PaymentsClientInterfacepublic PaymentResponse getPayment(String paymentId, CallContext context)
getPayment in interface PaymentsClientInterfacepublic CompletePaymentResponse completePayment(String paymentId, CompletePaymentRequest body)
completePayment in interface PaymentsClientInterfacepublic CompletePaymentResponse completePayment(String paymentId, CompletePaymentRequest body, CallContext context)
completePayment in interface PaymentsClientInterfacepublic CancelPaymentResponse cancelPayment(String paymentId)
cancelPayment in interface PaymentsClientInterfacepublic CancelPaymentResponse cancelPayment(String paymentId, CallContext context)
cancelPayment in interface PaymentsClientInterfacepublic CancelPaymentResponse cancelPayment(String paymentId, CancelPaymentRequest body)
cancelPayment in interface PaymentsClientInterfacepublic CancelPaymentResponse cancelPayment(String paymentId, CancelPaymentRequest body, CallContext context)
cancelPayment in interface PaymentsClientInterfacepublic SubsequentPaymentResponse subsequentPayment(String paymentId, SubsequentPaymentRequest body)
subsequentPayment in interface PaymentsClientInterfacepublic SubsequentPaymentResponse subsequentPayment(String paymentId, SubsequentPaymentRequest body, CallContext context)
subsequentPayment in interface PaymentsClientInterfacepublic RefundResponse refundPayment(String paymentId, RefundRequest body)
refundPayment in interface PaymentsClientInterfacepublic RefundResponse refundPayment(String paymentId, RefundRequest body, CallContext context)
refundPayment in interface PaymentsClientInterfacepublic CaptureResponse capturePayment(String paymentId, CapturePaymentRequest body)
capturePayment in interface PaymentsClientInterfacepublic CaptureResponse capturePayment(String paymentId, CapturePaymentRequest body, CallContext context)
capturePayment in interface PaymentsClientInterfacepublic CapturesResponse getCaptures(String paymentId)
getCaptures in interface PaymentsClientInterfacepublic CapturesResponse getCaptures(String paymentId, CallContext context)
getCaptures in interface PaymentsClientInterfacepublic PaymentDetailsResponse getPaymentDetails(String paymentId)
getPaymentDetails in interface PaymentsClientInterfacepublic PaymentDetailsResponse getPaymentDetails(String paymentId, CallContext context)
getPaymentDetails in interface PaymentsClientInterfacepublic RefundsResponse getRefunds(String paymentId)
getRefunds in interface PaymentsClientInterfacepublic RefundsResponse getRefunds(String paymentId, CallContext context)
getRefunds in interface PaymentsClientInterfaceCopyright © 2023 Worldline Online Payments Direct. All rights reserved.