Class HttpClientPaymentClientImpl
- java.lang.Object
-
- cz.gopay.api.v3.impl.apacheclient.AbstractImpl
-
- cz.gopay.api.v3.impl.apacheclient.HttpClientPaymentClientImpl
-
- All Implemented Interfaces:
PaymentClient
public class HttpClientPaymentClientImpl extends AbstractImpl implements PaymentClient
- Author:
- Frantisek Sichinger
-
-
Field Summary
-
Fields inherited from class cz.gopay.api.v3.impl.apacheclient.AbstractImpl
ACCEPT, apiUrl, AUTHORIZATION, CONTENT_TYPE, GRANT_TYPE, IMPLEMENTATION_NAME, logger, SCOPE, USER_AGENT, VERSION
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedHttpClientPaymentClientImpl(String apiUrl)
-
Method Summary
-
Methods inherited from class cz.gopay.api.v3.impl.apacheclient.AbstractImpl
marshall, unMarshall, unMarshallComplexResponse
-
-
-
-
Constructor Detail
-
HttpClientPaymentClientImpl
protected HttpClientPaymentClientImpl(String apiUrl)
-
-
Method Detail
-
createPayment
public Payment createPayment(AuthHeader authHeader, BasePayment createPayment)
- Specified by:
createPaymentin interfacePaymentClient
-
refundPayment
public PaymentResult refundPayment(AuthHeader authHeader, Long id, Long amount)
- Specified by:
refundPaymentin interfacePaymentClient
-
refundPayment
public PaymentResult refundPayment(@BeanParam AuthHeader authHeader, Long id, RefundPayment refundPayment)
- Specified by:
refundPaymentin interfacePaymentClient
-
createRecurrentPayment
public Payment createRecurrentPayment(AuthHeader authHeader, Long id, NextPayment createPayment)
- Specified by:
createRecurrentPaymentin interfacePaymentClient
-
voidRecurrence
public PaymentResult voidRecurrence(AuthHeader authHeader, Long id)
- Specified by:
voidRecurrencein interfacePaymentClient
-
capturePayment
public PaymentResult capturePayment(AuthHeader authHeader, Long id)
- Specified by:
capturePaymentin interfacePaymentClient
-
capturePayment
public PaymentResult capturePayment(AuthHeader authHeader, Long id, CapturePayment capturePayment)
- Specified by:
capturePaymentin interfacePaymentClient
-
voidAuthorization
public PaymentResult voidAuthorization(AuthHeader authHeader, Long id)
- Specified by:
voidAuthorizationin interfacePaymentClient
-
getPayment
public Payment getPayment(AuthHeader authHeader, Long id)
- Specified by:
getPaymentin interfacePaymentClient
-
getPaymentInstruments
public PaymentInstrumentRoot getPaymentInstruments(AuthHeader authHeader, Long goId, Currency currency)
- Specified by:
getPaymentInstrumentsin interfacePaymentClient
-
findEETReceiptsByFilter
public List<EETReceipt> findEETReceiptsByFilter(@BeanParam AuthHeader authHeader, EETReceiptFilter filter)
- Specified by:
findEETReceiptsByFilterin interfacePaymentClient
-
getEETReceiptByPaymentId
public List<EETReceipt> getEETReceiptByPaymentId(@BeanParam AuthHeader authHeader, Long id)
- Specified by:
getEETReceiptByPaymentIdin interfacePaymentClient
-
getStatement
public byte[] getStatement(AuthHeader authHeader, AccountStatement accountStatement)
- Specified by:
getStatementin interfacePaymentClient
-
-