Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewService ¶
func NewService( storage storage.DBRepository, bankClient simulator.BankClient, logger *slog.Logger, ) *Service
func (*Service) CreateNewPayment ¶
func (*Service) GetPaymentDetails ¶
func (s *Service) GetPaymentDetails(merchantID, paymentID string) (entities.PaymentDetails, error)
func (*Service) RefundPayment ¶
Click to show internal directories.
Click to hide internal directories.