publicService

package
v0.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 10, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPaymentApiService

func NewPaymentApiService(
	publicApiService service.IPublicPaymentService,
	authenticationService service.IAuthenticationService,
) publicApi.PaymentApiServicer

NewPaymentApiService creates a default api service

Types

type PaymentApiService

type PaymentApiService struct {
	// contains filtered or unexported fields
}

PaymentApiService is a service that implements the logic for the PaymentApiServicer This service should implement the business logic for every endpoint for the PaymentApi API. Include any external packages or services that will be required by this service.

func (*PaymentApiService) NewPayment

func (s *PaymentApiService) NewPayment(_ context.Context, xAPIKEY string, paymentRequestDto publicApi.PaymentRequestDto) (publicApi.ImplResponse, error)

NewPayment - Create a new payment

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL