@RestController @MiddlewareUserResource @RequestMapping(value="/payments") public class PaymentResource extends Object implements PaymentRestAPI
BASE_PATH| Constructor and Description |
|---|
PaymentResource() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.ResponseEntity<SCAPaymentResponseTO> |
authorizeCancelPayment(String paymentId,
String cancellationId,
String authCode) |
org.springframework.http.ResponseEntity<SCAPaymentResponseTO> |
authorizePayment(String paymentId,
String authorisationId,
String authCode) |
org.springframework.http.ResponseEntity<SCAPaymentResponseTO> |
getCancelSCA(String paymentId,
String cancellationId) |
org.springframework.http.ResponseEntity<?> |
getPaymentById(String paymentId) |
org.springframework.http.ResponseEntity<TransactionStatusTO> |
getPaymentStatusById(String paymentId) |
org.springframework.http.ResponseEntity<SCAPaymentResponseTO> |
getSCA(String paymentId,
String authorisationId) |
org.springframework.http.ResponseEntity<SCAPaymentResponseTO> |
initiatePayment(PaymentTypeTO paymentType,
Object payment) |
org.springframework.http.ResponseEntity<SCAPaymentResponseTO> |
initiatePmtCancellation(String paymentId) |
org.springframework.http.ResponseEntity<SCAPaymentResponseTO> |
selecCancelPaymentSCAtMethod(String paymentId,
String cancellationId,
String scaMethodId) |
org.springframework.http.ResponseEntity<SCAPaymentResponseTO> |
selectMethod(String paymentId,
String authorisationId,
String scaMethodId) |
@PreAuthorize(value="paymentInfoById(#paymentId)") public org.springframework.http.ResponseEntity<TransactionStatusTO> getPaymentStatusById(String paymentId)
getPaymentStatusById in interface PaymentRestAPI@PreAuthorize(value="paymentInfoById(#paymentId)") public org.springframework.http.ResponseEntity<?> getPaymentById(String paymentId)
getPaymentById in interface PaymentRestAPI@PreAuthorize(value="paymentInit(#payment)") public org.springframework.http.ResponseEntity<SCAPaymentResponseTO> initiatePayment(PaymentTypeTO paymentType, Object payment)
initiatePayment in interface PaymentRestAPI@PreAuthorize(value="paymentInfoById(#paymentId)") public org.springframework.http.ResponseEntity<SCAPaymentResponseTO> getSCA(String paymentId, String authorisationId)
getSCA in interface PaymentRestAPI@PreAuthorize(value="paymentInfoById(#paymentId)") public org.springframework.http.ResponseEntity<SCAPaymentResponseTO> selectMethod(String paymentId, String authorisationId, String scaMethodId)
selectMethod in interface PaymentRestAPI@PreAuthorize(value="paymentInfoById(#paymentId)") public org.springframework.http.ResponseEntity<SCAPaymentResponseTO> authorizePayment(String paymentId, String authorisationId, String authCode)
authorizePayment in interface PaymentRestAPI@PreAuthorize(value="paymentInitById(#paymentId)") public org.springframework.http.ResponseEntity<SCAPaymentResponseTO> initiatePmtCancellation(String paymentId)
initiatePmtCancellation in interface PaymentRestAPI@PreAuthorize(value="paymentInfoById(#paymentId)") public org.springframework.http.ResponseEntity<SCAPaymentResponseTO> getCancelSCA(String paymentId, String cancellationId)
getCancelSCA in interface PaymentRestAPI@PreAuthorize(value="paymentInfoById(#paymentId)") public org.springframework.http.ResponseEntity<SCAPaymentResponseTO> selecCancelPaymentSCAtMethod(String paymentId, String cancellationId, String scaMethodId)
selecCancelPaymentSCAtMethod in interface PaymentRestAPI@PreAuthorize(value="paymentInfoById(#paymentId)") public org.springframework.http.ResponseEntity<SCAPaymentResponseTO> authorizeCancelPayment(String paymentId, String cancellationId, String authCode)
authorizeCancelPayment in interface PaymentRestAPICopyright © 2019. All rights reserved.