service

package
v0.0.0-...-aead407 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthorizationHandler

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

AuthorizationHandler model

func NewAuthorizationHandler

func NewAuthorizationHandler() *AuthorizationHandler

NewAuthorizationHandler creates a new instance

func (*AuthorizationHandler) Handle

func (a *AuthorizationHandler) Handle(req request.Payment) (uuid.UUID, error)

type Cielo

type Cielo struct{}

Cielo model

func NewCieloService

func NewCieloService() *Cielo

NewCieloService creates a new instance

func (*Cielo) Authorize

func (c *Cielo) Authorize(req request.Payment) (uuid.UUID, error)

Authorize request authorization payment

type Stone

type Stone struct{}

Stone model

func NewStoneService

func NewStoneService() *Stone

NewStoneService creates a new instance

func (*Stone) Authorize

func (s *Stone) Authorize(req request.Payment) (uuid.UUID, error)

Authorize request authorization payment

Jump to

Keyboard shortcuts

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