public abstract class AbstractReadPaymentStatusService extends Object implements ReadPaymentStatusService
| Modifier and Type | Field and Description |
|---|---|
protected SpiPaymentFactory |
spiPaymentFactory |
| Constructor and Description |
|---|
AbstractReadPaymentStatusService(SpiPaymentFactory spiPaymentFactory,
SpiErrorMapper spiErrorMapper,
SpiAspspConsentDataProviderFactory aspspConsentDataProviderFactory,
MediaTypeMapper mediaTypeMapper) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract Optional |
createSpiPayment(List<PisPayment> pisPayments,
String paymentProduct) |
protected abstract SpiResponse<SpiGetPaymentStatusResponse> |
getSpiPaymentStatusById(SpiContextData spiContextData,
String acceptMediaType,
Object spiPayment,
SpiAspspConsentDataProvider aspspConsentDataProvider) |
ReadPaymentStatusResponse |
readPaymentStatus(CommonPaymentData commonPaymentData,
SpiContextData spiContextData,
@NotNull String encryptedPaymentId,
String acceptMediaType) |
protected final SpiPaymentFactory spiPaymentFactory
public AbstractReadPaymentStatusService(SpiPaymentFactory spiPaymentFactory, SpiErrorMapper spiErrorMapper, SpiAspspConsentDataProviderFactory aspspConsentDataProviderFactory, MediaTypeMapper mediaTypeMapper)
public ReadPaymentStatusResponse readPaymentStatus(CommonPaymentData commonPaymentData, SpiContextData spiContextData, @NotNull @NotNull String encryptedPaymentId, String acceptMediaType)
readPaymentStatus in interface ReadPaymentStatusServiceprotected abstract Optional createSpiPayment(List<PisPayment> pisPayments, String paymentProduct)
protected abstract SpiResponse<SpiGetPaymentStatusResponse> getSpiPaymentStatusById(SpiContextData spiContextData, String acceptMediaType, Object spiPayment, SpiAspspConsentDataProvider aspspConsentDataProvider)
Copyright © 2019. All rights reserved.