public class FintechPaymentAccess extends Object implements PaymentAccess
Constructor and Description |
---|
FintechPaymentAccess() |
Modifier and Type | Method and Description |
---|---|
ProtocolFacingPayment |
createDoNotPersist()
Factory method for new payment,
|
void |
delete(ProtocolFacingPayment consent)
Delete payment object from database.
|
List<ProtocolFacingPayment> |
findByCurrentServiceSessionOrderByModifiedDesc()
Available payments for current session execution.
|
boolean |
isFinTechScope() |
void |
save(ProtocolFacingPayment consent)
Save payment object to database.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getFirstByCurrentSession
public boolean isFinTechScope()
isFinTechScope
in interface PaymentAccess
public ProtocolFacingPayment createDoNotPersist()
PaymentAccess
createDoNotPersist
in interface PaymentAccess
public void save(ProtocolFacingPayment consent)
PaymentAccess
save
in interface PaymentAccess
public void delete(ProtocolFacingPayment consent)
PaymentAccess
delete
in interface PaymentAccess
public List<ProtocolFacingPayment> findByCurrentServiceSessionOrderByModifiedDesc()
PaymentAccess
findByCurrentServiceSessionOrderByModifiedDesc
in interface PaymentAccess
Copyright © 2020. All rights reserved.