confirmation_control

package
v0.0.0-...-8122643 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const StatusCancelled string = "cancelled"
View Source
const StatusFailed string = "failed"
View Source
const StatusSuccess string = "success"

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfirmationCallbackHandler

type ConfirmationCallbackHandler interface {
	ConfirmationCallback(ctx multitenancy.TenancyContext, operationId string, result *ConfirmationResult) (redirectUrl string, err error)
}

type ConfirmationResult

type ConfirmationResult struct {
	Code   string                   `json:"code,omitempty"`
	Status string                   `json:"status,omitempty"`
	Error  *generic_error.ErrorBase `json:"error,omitempty"`
}

type ConfirmationSender

type ConfirmationSender interface {
	SendConfirmation(ctx multitenancy.TenancyContext, operationId string, recipient string, failedUrl string, parameters ...map[string]interface{}) (redirectUrl string, err error)
}

Jump to

Keyboard shortcuts

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