@Component public class PaymentServiceResolver extends Object
| Constructor and Description |
|---|
PaymentServiceResolver() |
| Modifier and Type | Method and Description |
|---|---|
CancelPaymentService |
getCancelPaymentService(PisPaymentCancellationRequest paymentCancellationRequest)
Returns definite service for payment cancellation depending on the input payment cancellation data.
|
CreatePaymentService |
getCreatePaymentService(PaymentInitiationParameters paymentInitiationParameters)
Returns definite service for payment creation depending on the payment initiation parameters.
|
ReadPaymentService |
getReadPaymentService(CommonPaymentData commonPaymentData)
Returns definite service for getting payment details depending on the input payment data.
|
ReadPaymentStatusService |
getReadPaymentStatusService(PisCommonPaymentResponse pisCommonPaymentResponse)
Returns definite service for getting payment status depending on the input payment data.
|
public CreatePaymentService getCreatePaymentService(PaymentInitiationParameters paymentInitiationParameters)
paymentInitiationParameters - PaymentInitiationParameters objectCreatePaymentServicepublic ReadPaymentService getReadPaymentService(CommonPaymentData commonPaymentData)
commonPaymentData - CommonPaymentData objectReadPaymentServicepublic ReadPaymentStatusService getReadPaymentStatusService(PisCommonPaymentResponse pisCommonPaymentResponse)
pisCommonPaymentResponse - PisCommonPaymentResponse objectReadPaymentStatusServicepublic CancelPaymentService getCancelPaymentService(PisPaymentCancellationRequest paymentCancellationRequest)
paymentCancellationRequest - PisPaymentCancellationRequest objectCancelPaymentServiceCopyright © 2019. All rights reserved.