Package cz.gopay.api.v3
Interface IGPConnector
-
public interface IGPConnector- Author:
- FrantiĊĦek Sichinger
-
-
Method Summary
-
-
-
Method Detail
-
getAppToken
IGPConnector getAppToken(String clientId, String clientCredentials) throws GPClientException
- Throws:
GPClientException
-
getAppToken
IGPConnector getAppToken(String clientId, String clientCredentials, String scope) throws GPClientException
- Throws:
GPClientException
-
createPayment
Payment createPayment(BasePayment payment) throws GPClientException
- Throws:
GPClientException
-
refundPayment
PaymentResult refundPayment(Long id, Long amount) throws GPClientException
- Throws:
GPClientException
-
createRecurrentPayment
Payment createRecurrentPayment(Long id, NextPayment nextPayment) throws GPClientException
- Throws:
GPClientException
-
voidRecurrency
PaymentResult voidRecurrency(Long id) throws GPClientException
- Throws:
GPClientException
-
capturePayment
PaymentResult capturePayment(Long id) throws GPClientException
- Throws:
GPClientException
-
capturePayment
PaymentResult capturePayment(Long id, CapturePayment capturePayment) throws GPClientException
- Throws:
GPClientException
-
voidAuthorization
PaymentResult voidAuthorization(Long id) throws GPClientException
- Throws:
GPClientException
-
paymentStatus
Payment paymentStatus(Long id) throws GPClientException
- Throws:
GPClientException
-
refundPayment
PaymentResult refundPayment(Long id, RefundPayment refundPayment) throws GPClientException
- Throws:
GPClientException
-
findEETREceiptsByFilter
List<EETReceipt> findEETREceiptsByFilter(EETReceiptFilter filter) throws GPClientException
- Throws:
GPClientException
-
generatePaymentInstruments
PaymentInstrumentRoot generatePaymentInstruments(Long goId, Currency currency) throws GPClientException
- Throws:
GPClientException
-
getEETReceiptByPaymentId
List<EETReceipt> getEETReceiptByPaymentId(Long id) throws GPClientException
- Throws:
GPClientException
-
generateStatement
byte[] generateStatement(AccountStatement accountStatement) throws GPClientException
- Throws:
GPClientException
-
createSupercashCoupon
SupercashCoupon createSupercashCoupon(SupercashCouponRequest couponRequest) throws GPClientException
- Throws:
GPClientException
-
createSupercashCouponBatch
SupercashBatchResult createSupercashCouponBatch(SupercashBatchRequest batchRequest) throws GPClientException
- Throws:
GPClientException
-
getSupercashCouponBatchStatus
SupercashBatchState getSupercashCouponBatchStatus(Long batchId) throws GPClientException
- Throws:
GPClientException
-
getSupercashCouponBatch
SupercashBatch getSupercashCouponBatch(Long goId, Long batchId) throws GPClientException
- Throws:
GPClientException
-
findSupercashCoupons
SupercashBatch findSupercashCoupons(Long goId, Long... paymentSessionId) throws GPClientException
- Throws:
GPClientException
-
getSupercashCoupon
SupercashPayment getSupercashCoupon(Long couponId) throws GPClientException
- Throws:
GPClientException
-
getApiUrl
String getApiUrl()
-
getAccessToken
AccessToken getAccessToken()
-
setAccessToken
void setAccessToken(AccessToken accessToken)
-
-