public class PaymentServiceImpl extends java.lang.Object implements PaymentService
Modifier and Type | Field and Description |
---|---|
private MollieConfig |
config |
private static org.slf4j.Logger |
LOG |
Constructor and Description |
---|
PaymentServiceImpl(MollieConfig config) |
Modifier and Type | Method and Description |
---|---|
ListPayment |
callListPayment(java.lang.String apiKeyToken) |
Payment |
callPayment(PaymentRequest molliePaymentRequest,
java.lang.String apiKeyToken) |
PaymentResponse |
createPayment(PaymentRequest molliePaymentRequest,
java.lang.String apiKeyToken) |
private PaymentResponse |
generateEp6Response(Payment molliePayment) |
private javax.ws.rs.client.WebTarget |
getWebTarget() |
ListPayment |
listPayments(java.lang.String apiKeyToken) |
private static final org.slf4j.Logger LOG
private final MollieConfig config
@Inject public PaymentServiceImpl(MollieConfig config)
public PaymentResponse createPayment(PaymentRequest molliePaymentRequest, java.lang.String apiKeyToken) throws MollieException
createPayment
in interface PaymentService
MollieException
public ListPayment listPayments(java.lang.String apiKeyToken) throws MollieException
listPayments
in interface PaymentService
MollieException
public ListPayment callListPayment(java.lang.String apiKeyToken) throws MollieException
MollieException
public Payment callPayment(PaymentRequest molliePaymentRequest, java.lang.String apiKeyToken) throws MollieException
MollieException
private PaymentResponse generateEp6Response(Payment molliePayment)
private javax.ws.rs.client.WebTarget getWebTarget()