@Service public class PaymentService extends Object
| Constructor and Description |
|---|
PaymentService() |
| Modifier and Type | Method and Description |
|---|---|
ResponseObject<List<PaymentInitialisationResponse>> |
createBulkPayments(List<SinglePayment> payments,
String tppSignatureCertificate,
String paymentProduct)
Initiates a bulk payment
|
ResponseObject |
createPayment(Object payment,
PaymentType paymentType,
PaymentProduct paymentProduct,
String tppSignatureCertificate)
Initiates a payment though "payment service" corresponding service method
|
ResponseObject<PaymentInitialisationResponse> |
createPaymentInitiation(SinglePayment singlePayment,
String tppSignatureCertificate,
String paymentProduct)
Initiates a single payment
|
ResponseObject<Object> |
getPaymentById(PaymentType paymentType,
String paymentId)
Retrieves payment from ASPSP by its ASPSP identifier, product and payment type
|
ResponseObject<Xs2aTransactionStatus> |
getPaymentStatusById(String paymentId,
PaymentType paymentType)
Retrieves payment status from ASPSP
|
ResponseObject<PaymentInitialisationResponse> |
initiatePeriodicPayment(PeriodicPayment periodicPayment,
String tppSignatureCertificate,
String paymentProduct)
Initiates periodic payment
|
public ResponseObject createPayment(Object payment, PaymentType paymentType, PaymentProduct paymentProduct, String tppSignatureCertificate)
payment - Payment informationpaymentType - Type of payment (payments, bulk-payments, periodic-payments)paymentProduct - The addressed payment producttppSignatureCertificate - Tpp signature certificatepublic ResponseObject<Xs2aTransactionStatus> getPaymentStatusById(String paymentId, PaymentType paymentType)
paymentId - String representation of payment primary ASPSP identifierpaymentType - The addressed payment category Single, Periodic or Bulkpublic ResponseObject<PaymentInitialisationResponse> initiatePeriodicPayment(PeriodicPayment periodicPayment, String tppSignatureCertificate, String paymentProduct)
periodicPayment - Periodic payment informationpaymentProduct - The addressed payment productpublic ResponseObject<List<PaymentInitialisationResponse>> createBulkPayments(List<SinglePayment> payments, String tppSignatureCertificate, String paymentProduct)
payments - List of single payments forming bulk paymentpaymentProduct - The addressed payment productpublic ResponseObject<PaymentInitialisationResponse> createPaymentInitiation(SinglePayment singlePayment, String tppSignatureCertificate, String paymentProduct)
singlePayment - Single payment informationpaymentProduct - The addressed payment productpublic ResponseObject<Object> getPaymentById(PaymentType paymentType, String paymentId)
paymentType - type of payment (payments, bulk-payments, periodic-payments)paymentId - ASPSP identifier of the paymentCopyright © 2018 Pivotal Software, Inc.. All rights reserved.